Blog Logo

Tag: unit testing

All tags

Unit Testing a Static Class

I've been trying to find a way to unit test a static class. That is, a class that has no instances. The problem has been that at the end of one test the...

— 16 Jun 2007

Test Driven Development By Example

Introduction A lot has been written on the subject of test driven development, and especially on the idea that tests ought to be written first. This is an...

— 28 Mar 2007

An introduction to mock objects

Sometimes when you are unit testing you might get to a point where you say “That's too difficult to unit test so I'm just going to leave it”. This is where...

— 02 Dec 2006