Adding JUnit test suite behaviors
When setting the test suite behavior, you can choose either a test
invocation or a loop. To add a JUnit test suite
behavior:
- Open the test suite by selecting it from the Navigator pane.
- Click on the Behavior tab.
- Click Add > Options and either choose Test invocation
or Loop to add test methods to the list. If you choose Test
invocation, the Test Invocation window opens and you must
choose one of the test methods defined in the test suite. Click OK
to add the the test invocation to the behavior list. If you choose
Loop, the loop option is automatically added to the behavior list
and under the Detail heading, you can specify the number of
iterations for the loop.
- (Optional) Rename the default behavior name using something more
descriptive in the Name field under the Common heading.
- (Optional) Enter a description for what the test behavior will do.
- Under the Detail heading, you can check or uncheck the
Synchronous box for both the test invocations and the loops.
Related concepts
Test suites
Hyades Test overview
Behaviors
Related tasks
Adding JUnit test suite methods
Reusing test suites
(C) Copyright IBM Corporation 2000, 2003.
All Rights Reserved.