【发布时间】:2015-11-04 16:56:09
【问题描述】:
我知道如何在我的 Windows 批处理命令中使用 mvn -Dtest = nameoftest test 配置 Jenkins 以运行特定的测试类。但是,如何运行包含许多测试的 xml 脚本?
【问题讨论】:
标签: maven jenkins maven-surefire-plugin
我知道如何在我的 Windows 批处理命令中使用 mvn -Dtest = nameoftest test 配置 Jenkins 以运行特定的测试类。但是,如何运行包含许多测试的 xml 脚本?
【问题讨论】:
标签: maven jenkins maven-surefire-plugin
对于任何偶然发现这一点的人,您可以像这样通过 jenkins 运行一个 xml 文件..
mvn test -DsuiteXmlFile = src/whatever/path/my_file.xml
【讨论】: