Mister Goodcat
Purrfect software since 1882

February 2010 Entries

Unit test adventures - part 1

Some days ago I added a feature to an existing application, and when I was testing it, I felt that some calculations in the already existing parts of the software were wrong. After digging through the code I found that an external mathematical library is used, which was developed by a colleague some time ago. Due to its nature (being a pretty basic library), it was well-resourced with unit tests, and a short test run showed all of them succeeding. I sat down and did some old-school pen and paper...

  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati