InfoQ

News

FIT/Fitnesse Fixture Gallery 2.0 Released

Posted by Abel Avram on Jun 18, 2008 01:08 AM

Community
Agile
Topics
Delivering Quality,
Software Testing,
Agile Techniques
Tags
Fit / Fitnesse,
Acceptance Testing,
TDD

The Fixture Gallery is an open cookbook for FIT/Fitnesse fixtures and version 2.0 has been recently released by Gojko Adzic. This version of the gallery adds Python code samples for those who program for the web in Python. FIT/Fitnesse is an acceptance test framework with a Wiki front end useful for both customers and developers to create and run acceptance tests.

Version 1.0 of the gallery offered examples of source code in Java and C#, but version 2.0 brings something new according to Gojko:

The most important change in version 2.0 is that it is now expanded to cover Python examples as well, for all fixtures and concepts explained in the document. FitLibrary fixtures section now has examples for ConstraintFixture, CombinationFixture, CalculateFixture and notes about SetFixture and SubSetFixture.

Gojko invites everyone interested to contribute to the gallery:

My intention with the Fixture Gallery is to start an open documentation project where other people can contribute their notes and ideas about how best to use FIT/FitNesse fixtures. The source code for the document and all examples is hosted on SourceForge. Please help to make this document better either by directly changing it on SourceForge or by modifying the live wiki version on FitNesse.info.

FIT, or Framework for Integrated Test, is a framework used for writing and executing acceptance tests originally developed for Java by Ward Cunningham. FIT is a collaboration tool allowing everybody interested in a project to run tests which verify if the code meets the product requirements. The difference from other types of tests is that the requirements are contained in HTML tables and documents and not Java or C# code. Fitnesse is a Wiki front-end to FIT allowing users to collaborate and communicate while building together an understanding of the domain and creating acceptance tests based on user stories.

A FIT test is a called a fixture. The fixture makes the translation between the acceptance test expressed through an HTML table or Wiki page and the actual code of the application, testing the code and showing the results. The Fixture Gallery is a set of fixtures coming in three possible forms: a print-ready PDF, an executable FitNesse Wiki, or a live web site. Gojko says about the gallery:

For each fixture type, this document explains the table format and fixture class structure and provides advice when to use and when not to use it. Each example is accompanied by the source code for Java, .NET and Python FIT implementations, in a form that can be easily copied and used as a template for similar fixtures.

Other important FIT/Fitnesse resources are: the FIT web site, the Fitnesse web site, and Ward Cunningham and Rick Mudgridge's book on FIT. This presentation by David Hussman adds valuable insight in the topic.

Related Sponsor

VersionOne is recognized by Agile practitioners as the leader in Agile project management tools. Companies such as Adobe, BBC, CNN, Dow, HP, IBM, Sony and 3M have turned to VersionOne to help deliver greater value to their customers.

No comments

Reply

Exclusive Content

Measuring Agile in the Enterprise: 5 Success Factors for Large-Scale Agile Adoption

Michael Mah analyzes the development process in 5 companies: 2 Agile (one of them BMC) and 3 classic. He presents the factors which contributed to the success of BMC's Agile adoption.

Tom Preston-Werner on Powerset, GitHub, Ruby and Erlang

In this interview filmed at RubyFringe 2008, Tom Preston-Werner talks about how both Powerset and GitHub use Ruby and Erlang, as well as tools like Fuzed, god, and more.

David Laribee on Alt.NET and its Mission

David Laribee discusses the purpose of ALT.NET, its mission and future.

Discover RailsKits and Stop Writing Redundant Code

Ruby on Rails has become a popular Ruby framework for creating web applications in recent years. An aspect of creating a web application is the need to repeatedly create the same base functionality.

A Formal Performance Tuning Methodology: Wait-Based Tuning

Steven Haines talks about tackling web application performance tuning by proposing a method called wait-based tuning.

Shaw and Fowler About Forging a New Alliance

Shaw and Fowler talk about the need for a new relationship between the business department and the IT department. Studies have shown that projects mostly fail due to miscommunication between the two.

How to GET a Cup of Coffee

In this article, Jim Webber, Savas Parastatidis and Ian Robinson show how to drive an application's flow through the use of hypermedia in a RESTful application.

Archaeopteryx: A Ruby MIDI Generator

Eccentric artist turned overnight anti-celebrity, Giles Bowkett captures the heart and soul of RubyFringe as he demonstrates his revolutionary Archaeopteryx MIDI drum pattern generator.