2016-09-01

The 2008 advent calendar - 24 ways to write a test

Oh yes I love December 2008. I decided to challenge myself and write the same test in 24 different ways. And it was an interesting experience!

First I already started in November to frame things. And I finished it all off with a summary high-lighting the important versions during the month. I am however a little embarrassed that I chose a class which operates on the file system and actually decided to use the real file system as my underlying implementation. Hence this is not a unit test in my own favorite definition; if it touches the file system it is not a unit test.

Maybe it is time to retake this challenge... What do you think?

No comments:

Post a Comment