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

Move or Copy Tests Between Test Classes

After you define a test within one test class (Unit, Integration, System, Acceptance, Inspection or Scenario), you might decide that the test either is better suited to another test class, or forms a good template for tests in other classes. If so, you can either move or copy the test to the other classes.

Access    Select element | Element | Testing | <test class> | right-click on test in list to move/copy   or
Select element | Element | Element Browser > Testing folder | right-click on test to move/copy

Move or copy a test

Step

Action

See also

1

Click on the appropriate option - Move to or Copy to.

A list of test classes displays.

 

 

2

Click on the test class to which to move or copy the test.

A confirmatory prompt displays.

 

 

3

Click on the Yes button to confirm the move or copy.

 

 

4

Change the test class selected on of the Testing window to the target class, to check that the test has been added, and make any necessary changes.

 

Create Test Records

5

If you are copying the test to more than one other test class, repeat steps 1 to 4 for the next class to copy to.

 

 

Notes

·If you move or copy a test into the Scenario class, some unassociated data could be lost
 

Learn more

Learning Center topics

·(Alt+F1) | Enterprise Architect | Testing | Testing | Changing Test Category