I’m currently following an online TDD course by Roy Osherove. I’m about half way through and although I have quite a bit of experience writing unit tests and using test frameworks I’ve gained a lot of knowledge from the course already. Here are some highlights about good unit tests and test reviews.
Good Unit Tests
Roy stresses the importance of the three pillars of a good unit test:
If any of these are not taken into account during development developers are likely to drop unit tests all together because it will become a burden to use instead of an aid.