thoughtbot / testing-rails

Source code for the Testing Rails book
Other
279 stars 49 forks source link

Testing in isolation: doubles #26

Closed JoelQ closed 9 years ago

JoelQ commented 9 years ago

This covers some of the reasons why you would want to test in isolation and how to use test doubles to achieve that goal.

This section should eventually cover mocking, stubbing, and spies as other tools for testing in isolation. The introduction, "Benefits", and "Pragmatic Approach" sections may need to be reworked a bit as those topics get added.

JoelQ commented 9 years ago

Thanks for your feedback @andyw8 !