Talking head
Aloha Ruby Conf 2012

This presentation, by Corey Haines, is licensed under a Creative Commons Attribution ShareAlike 3.0

Mocks, Stubs and other test doubles are a common and convenient scapegoat when talking about fragile test suites. But test doubles can be useful guides, highlighting design issues and in our application. By treating them as companions, we can find our way to long-term maintainable designs and effective test suites. We'll look at specific, common complaints about test doubles and show how these are indications of design issues. Listening to these pains in our tests can be a great way to move from using our tests as verification to seeing our test suite as a design tool. Coming out of this talk, you'll have a better appreciation for the techniques of isolation testing in effective test-driven design.

Rated: Everyone
Viewed 2,046 times
Tags: There are no tags for this video.