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

Typemock: Past, Present and Future

Eli Lopian of Typemock answers a few questions on Typemock origins and where Typemock is headed.

Agile in Practice: What Is Actually Going On Out There?

Scott Ambler talks about actual data resulting from surveys made during 2006-2008, showing how Agile is perceived and implemented within organizations.

Building Smart Windows Applications

From QCon 2008, Daniel Moth presents on using Visual Studio 2008 and .NET 3.5 to create compelling rich Windows applications.

Joshua Kerievsky about Industrial XP

Joshua Kerievsky, founder of Industrial Logic, talks about Industrial Extreme Programming which extends XP by including practices dealing with management, customers and developers.

Jeff Barr Discusses Amazon Web Services

Amazon Web Services (AWS) Evangelist Jeff Barr discusses SimpleDB, S3, EC2, SQS, cloud computing, how different Amazon services interact, origins of AWS, AWS globalization and the March AWS outage.

More Than Just Spin (Up) : Virtualization for the Enterprise and SaaS

Cloud services have helped bring virtualization to the forefront. Its full power however, also includes other benefits such as high availability, disaster recovery, and rapid provisioning.

Ruby Beyond Rails

John Lam talks about his path to dynamic languages, some of the problems of making IronRuby run fast, and how the DLR helps with implementing languages.

VMware Infrastructure 3 Book Excerpt and Author Interview

VMware Infrastructure 3: Advanced Technical Design Guide and Advanced Operations Guide provides a wealth of practical insights into setting up virtualization in todays corporate environments.