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?
A:
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.
Harsha
2010-01-11 23:15:52
A:
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.
Cesar
2010-03-22 04:57:14