You can use the Test Suite editor to add, remove, and edit test
cases in an existing test suite.
Before you can edit the test cases in a test suite, you must have
previously created a test with the Create Component Test wizard.
To add, remove or edit test cases in the Test Suite editor:
- In the Test Navigator or Package Explorer view, double-click a
test suite. This opens the Test Suite editor.
- Click the Test cases tab.
- Use the list to edit the test cases contained in the current test
suite:
- Add: Allows you add an existing test case to the
test suite. A test case can be reused from another test suite or duplicated
from a test case already used in the current test suite.
- Remove: Allows you to remove the selected test
case from the current test suite. The corresponding method remains in the
test behavior script.
- Edit: Opens the test behavior script in the Java™ editor
at the position of the selected test case.
- Save the test suite to apply your changes.