BT

Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ

Topics

Choose your language

InfoQ Homepage News FIT/Fitnesse Fixture Gallery 2.0 Released

FIT/Fitnesse Fixture Gallery 2.0 Released

This item in japanese

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.

Rate this Article

Adoption
Style

BT