Fit for Developing Software: Framework for Integrated Tests

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

    Категории