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 ...
Get Fit for Developing Software: Framework for Integrated Tests now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.