Fit for Developing Software: Framework for Integrated Tests

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.

    Категории