Section 37.5. The Fixture Subclasses


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.



    Fit for Developing Software. Framework for Integrated Tests
    Fit for Developing Software: Framework for Integrated Tests
    ISBN: 0321269349
    EAN: 2147483647
    Year: 2005
    Pages: 331

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net