Qualities of a Good Unit Test . . .
[this is something great for every day consumption; try some on toast]
So I was looking through some of the documents I have used for presentations in the office and I thought this was an interesting one:
There should never be an order dependency, intentional or not, between unit tests.
Easy to Setup
How easily can I set up an environment to run the tests? If the answer is "not very," I might never get the tests running.
As much as possible, decouple unit tests from external dependencies like databases and web services by using mocks or stubs. When you do test against an external dependency, the dependency better be setup correctly by the automated build.