Please note : This help page is for an older version of Enteprise Archtiect. The latest help can be found here.

Topic
Prev Next

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

Ribbon

Construct > Testing > Test Windows > <test class> > right-click on test to move/copy

Keyboard Shortcuts

Alt+3 : 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