Chapter 29. Custom Table Fixtures


We now introduce the fixtures for the tables in Chapter 11. In that chapter, we argued that it can be valuable to develop custom Fit tables to be expressive for specific types of tests. In general, we'd expect that the effort involved in developing the fixture would be more than made up for in the reduced effort required in developing and maintaining the tests.

The first example table, for a business form, makes use of a TableFixture. The second example table, using graphics to test associations, makes use of a DoFixture. The third example table, using images to test a board game, makes use of an ImageFixture.



    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