Showing posts with label Fitnesse. Show all posts
Showing posts with label Fitnesse. Show all posts

Thursday, November 1, 2007

Fitnesse Converter

As a follow-up to my previous post, I'm working on an app to convert Fitnesse content.txt files into NUnit tests. I'll post the files and anything interesting I find along the way.

My basic approach is going to be to grap the tables and then use reflection to interogate the underlying classes that the fixtures exercise to generate tests.

We have about 10K Fitnesse tables, so the timeline and overhead for a manual conversion is fairly overwhelming, which justifies the time to research an automated approach.

Friday, October 26, 2007

Fitnesse Sux (but you knew that already)

About two years ago we began the shift to Agile Development. Part of that shift was using Fitnesse as a comlimentary testing platform to the already exiting test library written using NUnit. This provoked many time wasting debates trying to answer the questions "What is a Unit Test?" and "What is an Acceptence Test?" when the real question is "Does it matter?"

Additionally, Fitnesse is seriously not ready to be a test platform for .NET...it is still primarily a Java thang for socialists (redundant?). And the TDD/Agile thing is still horribly unresolved for issues of working with code from a legacy system and with Product Managers used to old guard ways who refuse to actually write tests.

(We've found that even though Development is more that willing to go with Agile, trying to get any other department in the company to do their "Agile part" is like trying to get a dog to chase the LASER pointer: sure he sees it, but it doesn't look like any duck he's ever seen.)

So Developments issue has been: we've got a 500K+ line, multi-languange code base that hasn't been designed for Fitnesse fixtures, no one else in the company is willing or able to write tests in Fitnesse besides Development, and syncing code and tests in a Continuous Build environment is next to impossible and one of the most common source of failed builds.

So we've finally made the decision to ditch Fitnesse and move back to 100% NUnit tests. Orcas may change that with better integrated testing regimines, but that still doesn't provide any ticks in the plus column for Fitnesse.