【发布时间】:2019-09-27 00:48:05
【问题描述】:
所有测试都会立即运行并加载计算机
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M3</version>
<configuration>
<includes>
<include>**/*CucumberRegressionRunner.java</include>
</includes>
<parallel>all</parallel>
<useSystemClassLoader>false</useSystemClassLoader>
<perCoreThreadCount>false</perCoreThreadCount>
<forkCount>2.5c</forkCount>
<reuseForks>true</reuseForks>
<threadCount>2</threadCount>
</configuration>
</plugin>
我不想运行所有包,我只需要并行运行 2-5 个测试
【问题讨论】:
标签: java selenium automation automated-tests maven-surefire-plugin