在thucydides中执行并行测试

时间:2014-05-12 10:17:33

标签: maven parallel-processing batch-processing thucydides

如何在thucydides中执行并行测试? 我已经尝试过设置Dthucydides.batch.count(和Dthucydides.batch.size,因为有人提到计数现在是大小?),Dthucydides.batch.number,将标记放在我项目的.pom中的failafe插件中,使用maven failsafe插件中的fork选项,但没有任何作用。它一个接一个地执行测试。

mvn插件我用于按要求执行测试:

<build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.11</version>
                <configuration>
                    <skip>true</skip>
                </configuration>
            </plugin>
            <plugin>
                <artifactId>maven-failsafe-plugin</artifactId>
                <version>2.11</version>
                <configuration>
                    <includes>
                        <include>**/*Test.java</include>
                        <include>**/Test*.java</include>
                        <include>**/When*.java</include>
                        <include>**/*TestSuite.java</include>
                    </includes>

                </configuration>
                <executions>
                    <execution>
                        <goals>
                            <goal>integration-test</goal>
                            <goal>verify</goal>
                        </goals>
                    </execution>
                </executions>
            </plugin>

0 个答案:

没有答案