Section 21.5. Summary


21.5. Summary

  • A fixture acts as a bridge between a Fit table and a system under test.

  • We aim to keep fixtures as simple as possible, with minimal knowledge encoded in them of how the system under test works.

  • A fixture for a table of type ColumnFixture is a subclass of fit.ColumnFixture, which defines (1) a public instance variable for each given column that is labeled in the header row of a table; (2) a public method for each calculated column in the table. Usually, this method will use the instance variable values to make a call into the system under test. The result of this fixture method is compared against the expected value in the calculated column.

  • Camel casing removes spaces from a label to create a valid Java identifier.



    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