Being Cellfish

Stuff I wished I've found in some blog (and sometimes did)

My new favorite .Net unit test framework

Change of Address
This blog has moved to blog.cellfish.se.

My new favorite .Net unit test framework

  • Comments 1

I recently had a chance to really sink my teeth into xUnit.net. Since I've been stuck with CPPUnit for quite some time and working with xUnit.net was a relief. Compared to NUnit I find xUnit much easier and convenient to work with (and compared with CPPUnit it's in a class of it own).

I feel I must give you four good reasons (no particular order) for why I prefer xUnit.net:

  • xcopy install makes it incredible easy to use it anywhere it is needed and in any form. Even different versions.
  • No need to mark up fixtures and test suits with attributes. A test method can basically be put anywhere.
  • No weird assertion names that feels like just a tick in the feature list. A small set of useful asserts.
  • Testing for exceptions is an assertion and not a test method attribute.

So earlier I suggested you to take a look at xUnit. Now I'm telling you. You won't be disappointed!

  • Using coding katas is a good way to learn and fine tune TDD/BDD skills. A common way to perform the code

Page 1 of 1 (1 items)