I wanna use junit 3. Is there such functionality to run all tests by using console in junit 3. If not, does junit 4 support it?
Asked
Active
Viewed 463 times
4 Answers
0
Yes you can. Create a test suite and all the tests that you want to run to this test suite. Run this test suite from console.

Thunderhashy
- 5,291
- 13
- 43
- 47
0
Or you can use Ant to run all your tests from the console, doesn't matter if it's junit 3 or 4. Ant includes a junit
task specifically for this. See my response here for a code sample on how to use Ant for this.