O'Reilly logo

Executable UML: A Foundation for Model-Driven Architecture by Marc J. Balcer, Stephen J. Mellor

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

15.3. System Tests

A unit test verifies a particular outcome from a single activity. System tests, on the other hand, verify the proper execution of a use case that may involve multiple system interactions by multiple actors. Figure 15.9 shows all the activities in the Order Merchandise use case.

Figure 15.9. Activity Diagram for the Use Case Order Merchandise

System tests share many of the same characteristics of unit tests: Both begin by establishing the state of the system based on preconditions, both have execution traces started by an initial signal, and both terminate with results that can be verified against postconditions.

The principal ...

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