0
我正在使用套件Maven + Selenium + Jenkins
来运行电子商务应用程序的集成测试。如何使用功能排序来运行Maven测试?
它发生Maven不遵循.feature文件命令:
1-test_case.feature
2-test_case.feature
3-test_case.feature
Maven在如下的顺序是:
RunOneTest.class/2.test_case.feature
RunTwoTest.class/3.test_case.feature
RunThreeTest.class/1.test_case.feature
我已经试图改变运行序列参数在pom.xml文件中,没有成功。
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<runOrder>filesystem</runOrder>
</configuration>
</plugin>
你所检查的所有runorder参数? – jos
我试着用“按字母顺序”,“平衡”和“文件系统” –