O'Reilly logo

Fit for Developing Software: Framework for Integrated Tests by Ward Cunningham, Rick Mugridge

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 10. FitLibrary Tables

We now consider a family of new fixtures, based on what we call flow, whereby a single fixture covers the actions in all tables of the test. We see that a sequence of Fit tables is organized differently, with only the first table having a fixture name.

We show how the two examples covered in Chapter 6 may be tested with these alternative fixtures. The following fixtures from the FitLibrary are covered:

•   DoFixture, for testing actions

•   SetUpFixture, for entering data at the start of a test

•   CalculateFixture, for testing calculations

•   ArrayFixture, for testing ordered lists

•   SubsetFixture, for testing some elements of an unordered list

10.1 Flow-Style Actions with DoFixture

An alternative approach ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required