Shared data for unit tests -- Paul Wilson

Speaker: Paul Wilson

Unit tests often need to make assumptions about the behaviour of the unit under test's collaborators. In my experience mistakes in these assumptions can lead to frustrating debugging sessions, and even actual bugs escaping into the wild. Functional tests are one way to increase confidence in those assumptions. I'd like to share another method that keeps in the realm of fast-running unit-tests.

Click here to view the slideshow (opens a new window)

(You can also read a written version of this talk here, on Paul's blog.)