HOME SCALA & F# JAVA .NET WEB GROOVY & GRAILS ANDROID & IOS NOSQL ARCHITECTURE AGILE & SCRUM AGILE DEVELOPER  
In The Brain of Gojko Adzic: FitNesse.NET Tips and Tricks
FitNesse.NET Tips and Tricks

In this talk, Gojko Adzic talks about efficient usage of FitNesse within the dotNET environment. FitNesse is an enhancement to the Fit acceptance testing framework. FitNesse provides a collaborative environment for agile acceptance testing which can be automated with Fit test fixtures. It saves a lot of time by writing fixture code efficiently. The talk also covers the new features of FitNesse R1.8. With these tricks, it is possible to write tests without writing any fixture code.


Gojko demonstrates how to use FitNesse on a simple sample domain. The sample acceptance test checks if the links are stored properly in the repository. Fixture types like row fixture, setup fixture and do fixture are used for this purpose. The trick of using System Under Test (SUT) for flow fixtures and sequence fixtures allows us to work around the limitation of extending the Fixture class.


SUT methods and fixture methods can be mixed or SUT’s can be switched rapidly from the test page by using some new keywords lie “with” and “name” and by using subset fixtures. Another trick is to use automatic domain object wrapping which allows us to use the domain class in the table header instead of using a fixture. Cell handlers can be used to tell FitNesse how to interpret a set of cells. Gojko gives an example of using regex for this purpose. Using suite configuration files to keep test pages tidy is another trick that is explained.


More information can be found in Gojko’s FitNesse book: http://gojko.net/fitnesse/book

Slides used in this talk: http://gojko.net/resources/FitNesseTipsAndTricks-20090217.ppt

Source code can be found here: http://gojko.net/resources/fitnessetipsandtricks-20090217.zip
Also you can take a look at Gojko’s new book, which considers acceptance testing from a business perspective http://www.acceptancetesting.info/the-book/

ABOUT GOJKO ADZIC
Gojko has helped numerous teams implement best specification-by-example practices, written two books on the subject and contributed to several open source projects. He frequently speaks at leading industry conferences.
More about Gojko Adzic
PODCAST FITNESSE.NET TIPS AND TRICKS
© Copyright 2003-2011, Skills Matter Ltd
  Web development by You In Control
About Us  Jobs  Find Us  Meeting & Training Rooms  Newsletter  Jobs: Sales Executive  Jobs: Student SkillsCaster  jobs - junior event coordinator  Speed Coding 2011  Open Source Journal  Ticket Raffle  Agile Expert Series  Jobs: Sponsorship Development  jobs: Marketing & Sales Graduate Internship