Red Squirrel Reflections
Dave Hoover explores the psychology of software development


[Previous entry: "Daddy, what do you do at work?"] [Main Index] [Next entry: "New Hope for Narrative"]

Learning Fitnesse
Monday, August 11, 2003

I took Daniel Steinberg's class on Fitnesse this afternoon. It was bunches of fun with a room packed fully of geeks, two or three per laptop, writing simple acceptance tests with Fit. My first question afterward was where Fit would best plug into a web application.

After touring the French Quarter for a while, I ended up back in my hotel, my mind still wondering where I could hook Fit into my Diary. I had spoken with Micah Martin earlier and he had shared some frightening stories of trying to use Fitnesse to test a web application via the GUI. I didn't want to go there. It seemed that it was best fit (no pun intended) for testing domain objects.

I am amazed at how easy it was to create the needed fixtures and get the tests to pass. Once the interface was in place, I moved very quickly, building up tests via wiki in Fitnesse. Being able to run the test directly from the wiki is priceless. See Diary's fit package for the fixtures and the fitnesse directory for the tests.

Posted by Dave

Powered by Greymatter