2012-04-12 17 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> 

あなたのプラグインの設定で。

関連する問題