Coding Style
The Testability Explorer Blog
Wednesday, July 8th, 2009We are going to start doing test driven development at my work. So I’ve been looking at ways around the problems that I’ve previously encountered when trying to write unit tests. Most of these problems centre around not being able to isolate the logic that I want to test. Often there are large amounts of [...]
Identifying Duplicate Code With Simian
Monday, April 13th, 2009I’ve recently discovered the tool Simian which you can use to identify blocks of duplicate code. I’ve been experimenting with it on C# code but Simian should work in pretty much any programming language.
Reduction of duplication within code is widely accepted as a worthwhile goal as it makes your code easier to debug, maintain and [...]
NUnit TestCase
Tuesday, March 3rd, 2009In my previous post about fitnesse I mentioned that it would be good to have a simple way to specify expected inputs and outputs for a method. I was fairly sure there must be something out there and the latest version of NUnit (Beta version 2.5) offers a great solution.
It allows us to specify parameters [...]