1 October 2008

01Oct2008

Nothing is too trivial to test

By carlfish on

While writing it, I pretty much convinced myself that this code was so simple there was really no point writing unit tests, but as I got close to checking the code in I realised that the first thing my code-reviewer would ask was “where’s the test?”