Talking head
Ruby Conference 2016

This presentation, by Noel Rappin, is licensed under a Creative Commons Attribution ShareAlike 3.0

Test doubles (which you may know under the alias “mock objects”) are the most misunderstood and misused testing tools we've got. Starting with the fact that nobody can agree on what to call them. Contrary to what you may have heard, test doubles do not inherently lead to fragile tests. What they do is hold up a harsh mirror to the assumptions in our code. They are the light saber of testing tools: a more elegant weapon for a more civilized age. But be careful not to cut your code in half, so to speak. Herein: a guide to using test doubles without losing your sanity.

Rated: Everyone
Viewed 563 times
Tags: There are no tags for this video.