开发者

Maven:Using JUnit test-help required

开发者 https://www.devze.com 2022-12-12 04:55 出处:网络
In my project, I have lot of test cas开发者_如何学Goes. What command can be used to selectively run one Test suite/test case?

In my project, I have lot of test cas开发者_如何学Goes. What command can be used to selectively run one Test suite/test case? Please help


try running:

mvn -Dtest=<test class> test

More information: http://maven.apache.org/plugins/maven-surefire-plugin/examples/single-test.html


mvn test -Dtest=<test-case-name>

0

精彩评论

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