Show Test Script Compartments

Any element that is capable of displaying a compartment can be used to show test scripts in a diagram. To make use of the feature the element must have an attached test.

How To:

To show the Test Script compartment on an element in a diagram, follow the steps below:

Step

Action

See Also

1

Open a diagram containing the element with the attached test items

 

2

Double-click on the diagram background to display the Diagram Properties dialog

Click on the Elements tab

 

3

In the Show Compartments panel, select the Testing checkbox

 

4

Click on the OK button to save the setting

The tests now appear as an item in the test scripts compartment of the diagram element

 

Example:

Example of Class Test Script