Running JUnit from the command line [duplicate]
Possible Duplicate:
How to run Junit testcases from command line?
How can I run JU开发者_Go百科nit from the command line in Linux?
Here you will find a way to do that.
As stated on JUnit FAQ:
How do I run JUnit from my command window?
Set your CLASSPATH
Invoke the runner by "java org.junit.runner.JUnitCore (test class name)"
精彩评论