Skip to content

Double trouble - clarity on test doubles by Greg Sterndale

Photo of Bryan Helmkamp
Hosted By
Bryan H.
Double trouble - clarity on test doubles by Greg Sterndale

Details

Double trouble - clarity on test doubles

You're a member of the Ruby community, you've heard the questions. Seen the confusion. Smelled the code. You've probably scratched your head while someone struggled to differentiate mocks and stubs. Maybe you've seen test doubles overused or test suites begging for them. Heck, maybe it's your suite. Perhaps your team struggles for the right words when talking about test phases, elements and patterns. You've heard of patterns like fakes, spies and dummies, but you're not sure what they're all about.

Using an accepted, conventional unit test vocabulary, this talk defines a number of test double patterns, weighing the pros & cons of each and exploring possible applications. You should see it.

About the speaker:

Greg first Rubied eight years ago, when Rails was in its infancy. Before code ninjas, rockstars, ruby dramas and the rise of the brogrammer. While he’s none of those things, Greg is a champion. A champion of quality in software. He contributes to Ruby, Rails, Rspec and other great projects.

Greg’s day job is co-founder and consultant at PromptWorks, the premier Ruby shop in Philadelphia. When he’s not at work or performing his daddy duties, you can find Greg contributing to OSS, reading, speaking about automated testing and conducting workshops in Philadelphia.

Photo of NYC.rb group
NYC.rb
See more events
Pivotal Labs
841 Broadway, 8th floor · New York, NY