March 2001
Intermediate to advanced
416 pages
10h 27m
English
The relationship between test requirements for a subclass, such as MovableSprite, and the test requirements for a base class supports an inheritance relationship between Tester classes that we described in Chapter 5. In other words, we can develop a test driver for a subclass D by deriving its Tester class from the Tester class for C, D's superclass. Figure 7.7 shows the structure, which we refer to as the parallel architecture for class testing (PACT) [McGr97]. The structure determined by PACT for the Sprite class hierarchy is shown in Figure 7.8.

Read now
Unlock full access