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 ...
Get A Practical Guide to Testing Object-Oriented Software now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.