Fit for Developing Software: Framework for Integrated Tests

37.5. The Fixture Subclasses

The core fixture classes are subclasses of the class Fixture, as shown in Figure 37.5. The subclasses override relevant methods of Fixture to run the tests, as discussed in Section 37.3.

  • RowFixture is a subclass of ColumnFixture, using some of the code in ColumnFixture to process column values.

  • TimedActionFixture is a subclass of ActionFixture acting the same as ActionFixture but also providing timing information in an extra column that is added to the reported table.

Figure 37.5. Fixture Classes

The subclasses also make use of utility methods in Fixture, such as the right() method, mentioned in Section 37.1.

    Категории