Storytelling With FIT

  • Presenters: Steve Freeman & Mike Hill
  • Type: Tutorial
  • Duration: 180
  • Audience: Practitioners, managers, testers, developers, analysts. This tutorial is intended for anyone involved in describing requirements. No experience is required. We have also found that the tutorial helps people with intermediate experience of FIT.
Objectives

The tutorial is designed to:

  • motivate readable acceptance tests (as specifications)
  • show the importance of declarative style testing vs. procedural testing
  • provide experience in growing an acceptance test language
  • pass on our experience of using FIT for acceptance testing on multiple projects.
Abstract

This tutorial is about how to write acceptance tests that are meaningful, focussed, and understandable. On an Agile project, the acceptance test suite is the medium that bridges between the technical and business members of the team to ensure that the right functionality is delivered. The tests must be clear and understandable by both sides, which implies building a common language within the team.

This is the motivation of the FIT framework, and our workshop focusses on the communication aspects of writing acceptance tests.

We will not be implementing or running any code.

Benefits of participating

What will the organisers learn

Session Outline

  • 20 min - Introduction to Acceptance Testing and FIT
  • 10 min - Presentation of exercise
  • 45 min - Game round 1
    • write tests for exercise scenario on paper
    • present tests and get feedback from another team
  • Break
  • 25 min - Experience report, in particular showing evolution from procedural to declarative tests
  • 35 min - Game round 2
    • incorporate feedback from round 1 & experience report into new version of tests
    • present tests to a different team and get feedback
  • 30 min - Wrap-up and discussion
The Game

For the game, the attendees will divided into groups. Each group will be given a scenario and will then work together to write some acceptance tests, sketched on paper. One person from each group is chosen as the storyteller and takes the tests to another group for review.

The storyteller talks the other group through the tests, showing how they describe the scenario. The storyteller then turns his or her back on the group and listens while they discuss and brutally criticize what they've just heard. The storyteller then takes this discussion back to his or her own group.

For the second round, the same storyteller presents the revised tests to a different group.

Experience Report & Discussion

  • talk through some real examples of FIT tests, in particular showing how the style and language have evolved.
  • answer questions raised by the game and encourage adoption of FIT acceptance testing
History
  • XpDay London 2005
  • SPA 2005
  • Used for teaching at University College London
  • Agile 2006
  • OOPLSA 2006