Section 21.6. Exercises


21.6. Exercises

1.

Experiment with changing the supplied example fixture classes and corresponding tables. Note the errors that result from a mismatch between the table and the fixture.

2.

What happens if instance variables and methods in the ColumnFixture subclass are not referred to in the table?

3.

What happens if a void method is provided in the fixture for a calculated column?

4.

Write simple tables and corresponding fixtures for some of the tables in the exercises in Chapter 3.

5.

Write a table that encodes spaces specially as ((SPACE)). Develop the corresponding ColumnFixture fixture class to handle spaces correctly to and from the system under test.



    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