Getting Fit With .Net: version 0.1 is out! Grab it while it’s hot.

I spent the last month experimenting with FitNesse server for automated testing, especially the .Net integration – with great results. Even the complex tests were quite easy to write, glue-code to bind our libraries to FitNesse is very thin, and I quickly built the framework that held the project code together during major refactoring. There was, however, one missing ingredient in the mix.

The online user guide deals only with the Java integration, and .Net implementation has a lot of subtle differences. Details of those specifics are scattered throughout the Internet, so I spent quite some time collecting partial information from blogs, but on the end, all the roads lead to the debugger. Fitnesse.Net is, fortunatelly, opensource, so I got the source code from Sourceforge and found what is really going on.

As I could not find a complete, consolidated guide that explains how to start testing .Net code with Fitnesse, I decided to write one myself and share it, so that others do not have to learn it from the debugger. Here is the first version – download it from www.gojko.net/fitnesse. This document covers:

  • Setting up a FitNesse server for testing .Net code
  • Writing basic tests, performing common tasks
  • Saving time and effort with specialised test types
  • Tips and tricks for writing better tests and making test pages easier to read
  • Managing content with FitNesse
  • Organising tests into test suites
  • Most important differences between .Net and Java versions
Tags: ,