开发者

Running JUnit from the command line [duplicate]

This question already has answers here: Closed 11 years ago.

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?

  1. Set your CLASSPATH

  2. Invoke the runner by "java org.junit.runner.JUnitCore (test class name)"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜