What is a Unit Test? There is a lot of confusion about what unit tests are and how they differ from integration tests. This post provides one viewpoint on what unit tests are.
Duplication over Abstraction in Unit Tests In your production code, favor abstraction over duplication. In your unit tests, favor duplication over abstraction.
Are your Tests Necessary and Useful? Some automated tests are unnecessary or problematic. Here are some questions to ask yourself about each test you write.