June 7, 2010 - 08:25 EDT
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/
September 6, 2007 - 21:15 EDT
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.
June 13, 2007 - 21:15 EDT
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. [...]