2012-04-12 56 views
0

是否可以执行maven-easyb-plugin作为集成阶段而不是测试阶段的一部分?将项目部署到Web服务器后,我想运行easyb测试。执行maven-easyb-plugin作为集成阶段的一部分,而不是测试阶段

    <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

在特定情况下,它是:

<execution> 
    <phase>integration-test</phase> 
    <goals> 
     <goal>test</goal> 
    </goals> 
</execution> 
在你的插件配置