Please note : This help page is not for the latest version of Enterprise Architect. The latest help can be found here.
Unit Testing
Use Unit Testing to test Classes, Components and other elements as programmers build them.
Access: View | More Element Tools | Testing > Unit
The Unit testing tab displays in the Testing window by default.
If any Unit tests exist, the first Test item for the element is shown in the Testing window in Item mode, and all items are listed either in the panel to the left of the window, or in the window in List mode.
Reference:
Field |
Usage |
See also |
---|---|---|
Test |
Specify the name of the test |
|
Status |
Click on the drop-down arrow and select the current status of the test |
|
Type |
Click on the drop-down arrow and select the type of test |
|
Run By |
Click on the drop-down arrow and select the name of the person who ran the test |
|
Checked By |
Click on the drop-down arrow and select the name of the person who checked the test run |
|
Last Run |
Click on the drop-down arrow and select the date on which the test was last run |
|
Description |
Type a description of the test; you can format the text using the Notes toolbar at the top of the field This text is also reflected in the Notes window, but cannot be edited there |
|
Input |
Type in the input data |
|
Acceptance Criteria |
Type the acceptance or test success conditions |
|
Results |
Type the results of the last test |
|
Topics:
Topic |
Detail |
See also |
Editing Unit Tests |
To edit existing Unit Test items for this element, either
To change the element for which to create test items, click on the required element in the Project Browser |
Notes:
- In the Corporate, Business and Software Engineering, System Engineering and Ultimate editions of Enterprise Architect, if security is enabled you must have Manage Tests permission to add, update and delete test records