InfoQ

News

Communicating with Business Using FIT and FitNesse

Posted by Geoffrey Wiseman on Nov 21, 2007 07:36 AM

Community
Agile
Topics
Agile in the Enterprise,
Business
Tags
Fit / Fitnesse,
Acceptance Testing

Although both FIT (Framework for Integrated Test) and FitNesse are used for performing integration and acceptance testing on agile projects, many people have tried to use these as general-purpose testing frameworks, with mixed results. Others have suggested that FIT should be used almost exclusively for cross-functional tests where communicating with the business, or with a customer, is of paramount importance.

If FIT and FitNesse are being mis-applied, perhaps this is due to the relatively limited amount of shared experiences on the subject.
Naresh Jain suggested there aren't enough well-established patterns and anti-patterns:

Should we use statics to share data between fixtures? How to design Fixtures [to inherit or not to inherit]?

In the past few months, a few people have been sharing their experiences with both FIT and FitNesse. James Shore described Five Ways to Misuse FIT, in which he argued that people attempt to use FIT for automation, which it isn't good at, instead of communicating with customers, which it is good at:

Sure, it's called "Framework for Integrated Test". The key word there, though, is "Integrated", not "Test". Fit is actually a fairly weak test automation tool. There are dozens tools (xUnit, Watir, Selenium, not to mention all the high-priced screen scrapers) that do test automation. They do it better than Fit does.

Fit's strength--the one thing it does better than any other tool I know--is that customers are comfortable providing examples in tables. It's a great tool for communicating with customers. If you use it to automate your regression tests, you will come to regret it. If you use it to enhance your collaboration with customers, you'll be much happier.

He concludes with the following points:

  • Fit is good for communication, weak for test automation.
  • People mostly use Fit for test automation, less for communication.

For FitNesse, Naresh Jain shared some Patterns and Anti-Patterns. Mirroring James Shore's opinion of FIT, Naresh suggested that FIT should not be used as a generalized replacement for unit testing:

FitNesse is not a QA testing tool. They can use it to write acceptance tests. But not other types of tests. Keep the tool simple and let it do one job well. With lack of support for test maintenance, it really becomes a big issue for QAs to use this tool effectively.

Instead he recommended that FIT be used for cross-functional testing:

Using FitNesse based acceptance tests for collaboration between cross-functional team members is a great way to help communication within the team. It also encourages every one on the team to talk about the domain entities and hence domain language at the very beginning of the story.

Both Naresh Jain and James Shore have suggested other patterns and anti-patterns, but they both agree on the role that FIT tools play in a software project.

InfoQ has previously covered FIT and FitNesse, including DbFit, FitNesse with .NET and Ruby and a FIT Acceptance Testing Primer.

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.

1 comment

Reply

qwqw by berkay NiQuiL Posted Jun 30, 2008 6:01 PM
  1. Back to top

    qwqw

    Jun 30, 2008 6:01 PM by berkay NiQuiL

Exclusive Content

Rationalizing the Presentation Tier

Thin client paradigm characterized by web applications is a kludge that needs to be repudiated. Old compromises are no longer needed and it's time to move the presentation tier to where it belongs.

Agile Project Management: Lessons Learned at Google

In this presentation filmed during QCon 2007, Jeff Sutherland, the creator of Scrum, talks about his visit at Google to do an analysis of Google's first implementation of Scrum.

AtomServer – The Power of Publishing for Data Distribution

In this article, Bryon Jacob and Chris Berry introduce AtomServer, their implementation of a full-fledged Atom Store based on Apache Abdera, which is now available as open source.

An Introduction to Virtualization

It is easy to think that virtualization applies only to servers. In reality the recent resurgence of the concept is also being applied to networking, storage, and application infrastructure.

REST Anti-Patterns

In this article, Stefan Tilkov explains some of the most common anti-patterns found in applications that claim to follow a "RESTful" design and suggests ways to avoid them.

Choosing between Routing and Orchestration in an ESB

In this article, Adrien Louis and Marc Dutoo discuss the differences and relative merits of using orchestration vs. routing in a typical ESB setup, and discuss various implementation options.

Enterprise Batch Processing with Spring

Wayne Lund discusses batch processing, Spring Batch objectives and features, scenarios for usage, Spring Batch architecture, scaling, example code, failures and retrying, and the future roadmap.

User Story Estimation Techniques

Developer Jay Fields draws on his experiences as a ThoughtWorks consultant to describe effective user story estimation techniques.