Parametrised Tests in NUnit

Parametrised tests help you to create many test cases without writing a lot of test methods. This approach saves you a lot of time and increases the quality of your tests. Let us look how we can parametrise our tests in NUnit.   The [TestCase] attribute A parametrised test in NUnit needs the [TestCase] attribute, …

Read more

Attend “Make Your Code More Testable” if You Get a Chance

Last week I attended the “Make Your Code More Testable” workshop by Ted M. Young (@jitterted). I was not sure if I wanted to attend yet another workshop this year as I saw the first tweet about this workshop. After I saw the recommendations by Gitte Klitgaard, Esther Derby, Kent Beck and GeePaw Hill I …

Read more

The Gilded Rose Kata

Code katas are little exercises that help you to improve your programming skills. My favourite one is the Gilded Rose kata. It was originally created by Terry Hughes and is now maintained by Emily Bache (@emilybache). While most katas start from scratch, the Gilded Rose kata comes with existing code that you need to modify. …

Read more