Testing Sleep

Episode 153 · November 21, 2013

We try to avoid writing slow unit tests, but what if we are testing a method whose responsibilities include waiting for a period of time? In this episode we look at a few approaches, talk about the difference between testing logic and testing system interactions, and finally settle on a strategy that leads us to a more flexible design.

Episode 153 · part of Rigorous Ruby

This episode is part of Rigorous Ruby.

Rigorous Ruby has 7 modules and 50 lessons. Watching this episode takes a Pro membership, which includes every course. You can also buy this course on its own.

  • Free account

    $0

    Opens the free courses. It does not include this one. Create a free account

Join Pro, $25 a monthOr buy just this course, $75

Appears in

Tags: ,

Responses