Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: 7eb4827dc7
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (16 sloc) 548 Bytes


Types of test

  • unit

  • system / integration / functional

.notes Go see the video of Gary's "Fast test, slow test" talk.


Unit tests

  • Test one unit of code (a function or method) in something approaching isolation.

  • Fast, focused (useful failures).

  • Help you structure your code better.


Integration tests

  • Test that the whole integrated system works; catch regressions.

  • Slow (just write a few, test the edge cases with unit tests).

.notes Summary: both are useful, write more unit tests.

Jump to Line
Something went wrong with that request. Please try again.