开发者

Maven:Using JUnit test-help required

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜