Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.

Prev Next

Show Test Script Compartments

When you have created a Test record, it is useful to make the test visible on its parent element. You can do this by displaying the test within a Test Script compartment on the element as it displays in a diagram. Any element that is capable of displaying a compartment, and that has a test assigned to it, can show test scripts in a diagram.

Show the Test Scripts on an element in a diagram

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.

Each test item now appears in the test scripts compartment of the diagram element. Items of each type are grouped together so that, for example, all Unit tests on the element are grouped under the heading 'Unit', and all Integration tests on the element are grouped under the heading 'Integration'.

If you click on a test item, and the Notes window and/or Testing window are open, the test details are immediately displayed in them. If you double-click on the item, the 'Test details' dialog opens, showing the details of that test.

Example

Showing a Class element with a test scripts compartment in Sparx Systems Enterprise Architect.