You can use the Test Suite editor to add, remove, and edit stubs
in an existing test suite.
To add, remove or edit stubs 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 Stubs tab.
- Use the list to edit the test cases contained in the current test
suite:
- Add: Allows you add an existing stub to the test
suite. A stub can be reused from another test suite or duplicated from a stub
already used in the current test suite.
- Remove: Allows you to remove the selected stub
from the current test suite.
- Edit stub: Opens the stub in the Java™ editor.
- Edit stubbed: Opens the original stubbed component
in the Java editor.
- Save the test suite to apply your changes.