Section 37.7. Summary


37.7. Summary

The architecture of Fit is based on the classes Fixture, Parse, and TypeAdapter.

  • Fixture manages the overall running of the Fit tables and provides various utility methods. The standard fixtures extend Fixture to process a table in their own particular way.

  • Parse is used to represent tables and is altered as the tests are run to provide feedback on them; it is written to a report file once the tests are run.

  • TypeAdapter is used to manage interconversion between text values from table cells and underlying Java values and to make comparisons.

The architecture of Fit is sufficiently open and general to allow new types of fixtures to be easily created, to permit tests to be expressed as clearly as possible. In Chapter 38, we develop and use some new custom fixtures.

Runners handle the overall testing process, from input file to report. New types of runners can be easily developed and incorporated with Fit, as discussed in Chapter 39.



    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