Friday, June 1, 2012

How to Run JUnit Tests from Command Line

java org.junit.runner.JUnitCore <package & class name of test case/suite>

Include the classpath references of course.

References: http://www.jsystemtest.org/?q=node/44

No comments:

Post a Comment