Monthly Archives: December 2011

Refactoring for unit testing

When we make a unit test, we really want to test one method at a time. The idea being that all other methods are tested elsewhere, so the only responsibility of a particular test is to test a single method. … Continue reading

Posted in C#, Unit Testing | Tagged , , , , , , , | Leave a comment

Taking advantage of the nUnit API

Code for this blog post can be found here: nUnitDemo.zip – Unit testing is hard and sometimes boring. Mostly because setting the test up can be frustratingly hard and it can be hard to see, that you get a descent … Continue reading

Posted in Unit Testing | Tagged , , | Leave a comment