O'Reilly logo

A Practical Guide to Testing Object-Oriented Software by David A. Sykes, John D. McGregor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Use Cases as Sources of Test Cases

To test for conformance to requirements, we want to construct the test cases from the use cases that specify requirements. As we previously noted, we need to determine how many test cases to use from each use case and then build the test cases themselves. Although we discussed this in Chapter 4, we will provide additional details here.

Constructing Use Profiles

The construction of a use profile begins with the actors from the use case diagram. The actor profile in Figure 9.4 is for the player actor in the Brickles game. When there is a single actor, that profile should match the frequency field in the use cases. The interesting, and useful, case is when there are several actors. Seldom will all of these actors ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required