是否可以在集成阶段而不是测试阶段执行maven-easyb-plugin?一旦项目部署到网络服务器,我想运行easyb测试。
<plugin>
<groupId>org.easyb</groupId>
<artifactId>maven-easyb-plugin</artifactId>
<version>1.4</version>
<executions>
<execution>
<goals>
<goal>test</goal>
</goals>
</execution>
</executions>
<configuration>
<storyType>html</storyType>
<storyReport>target/easyb/easyb.html</storyReport>
<easybTestDirectory>src/test/stories</easybTestDirectory>
<jvmArguments>-Xmx512m -Dwebdriver.driver=firefox</jvmArguments>
</configuration>
</plugin>
答案 0 :(得分:0)
在您的具体情况下,它将是:
<execution>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
</execution>
在你的插件配置中。