comments (not for humans)
O3tker twittered about a framework Microsoft has created called Pex for automatically generating unit tests with high test coverage. There is a video of it here: http://channel9.msdn.com/posts/Peli/Getting-started-with-Pex-in-Visual-Studio-2008/.

[...]
Datasets tend to make applications really hard to test. In this entry I'll explain a method you can use to improve the testability of your dataset-driven architecture.
[...]
This may be old news for some of you, but using static non-final variables in your code can result in strange unit test behaviour. The reasoning is that states in static values may be kept between unit tests because the class or dll is not unloaded and reloaded between each unit test. This violates the principle that unit tests should be independent of each other, and can result in tests passing and failing depending on the order in which they are run. [...]