命令行下怎么运行JUnit测试用例
答案:2 悬赏:40
解决时间 2021-03-21 00:14
- 提问者网友:喵星人荷西
- 2021-03-20 19:38
命令行下怎么运行JUnit测试用例
最佳答案
- 二级知识专家网友:初心未变
- 2021-03-20 20:05
运行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 test.jar;../junit-4.8.1.jar org.junit.runner.JUnitCore test.RerunTest
全部回答
- 1楼网友:桑稚给你看
- 2021-03-20 21:44
搜一下:命令行下怎么运行JUnit测试用例
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯