TheOdinProject / ruby_testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Exercises: Further resource for RSpec mock

Imfae opened this issue · comments

Complete the following REQUIRED checkboxes:

  • I have thoroughly read and understand The Odin Project Contributing Guide
  • The title of this issue follows the location for request: brief description of request format, e.g. Exercises: Add exercise on XYZ

The following checkbox is OPTIONAL:

  • I would like to be assigned this issue to work on it

1. Description of the Feature Request:
I think the explanation and linked resources for stub and mock in Exercise 13_ input_output are a little too technical and non-intuitive for the uninitiated beginner. It was difficult for me to understand why I might even need stub and mock and where they should be used when I first took the exercise.

For a simpler explanation -- both in words and in code, I found a resource online The ‘no problemo’ basic guide to doubles and stubs in RSpec that illustrated the concept of mock in a manner that's much more intuitive (and fun). I suggest adding it to the list of stub/mock resources in the exercise.

2. Acceptance Criteria:

3. Additional Information:

Hey @Imfae

Yeah I'm on board with this. A gentler introduction is a good thing. I'll assign you.