运行JUnit测试脚本:
java -cp [jar files separated by comma including junit jar file and your junit test case jar file] org.junit.runner.JUnitCore [your junit test case class]
例子:
java -cp aaa.jar;../junit-4.8.1.jar org.junit.runner.JUnitCore test.RerunTest
命令行下如何运行JUnit测试用例
最新推荐文章于 2024-05-23 09:05:41 发布