【问题标题】:Executing maven-easyb-plugin as part of the integration phase instead if the test phase执行 maven-easyb-plugin 作为集成阶段的一部分,而不是在测试阶段
【发布时间】:2012-04-12 21:22:49
【问题描述】:

是否可以在集成阶段而不是测试阶段执行 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>

【问题讨论】:

    标签: maven maven-2 bdd easyb


    【解决方案1】:

    在您的具体情况下,它将是:

    <execution>
        <phase>integration-test</phase>
        <goals>
            <goal>test</goal>
        </goals>
    </execution>
    

    在你的插件配置中。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2012-04-08
      • 2014-11-14
      • 1970-01-01
      • 2023-01-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多