If the for loop works, then I agree with nos.
If you need to repeat the whole installation-testing procedure, you can use TestSuite:
- Right-click the package containing the test to repeat
- Go to New and choose to create a JUnit test SUITE
- Make sure that only the tests you want to repeat are selected and click on them to finish.
- Edit the file to run it several times.
In the file you will find
addTestSuite(YourTestClass.class)
and wrap this in a for loop.
I'm sure you can use addTest instead of addTestSuite to make it run only one test from this class if you just want to repeat one test method.
Michael Rusch Dec 02 '09 at 20:35 2009-12-02 20:35
source share