【问题标题】:Easyb with Data-driven Development?数据驱动开发的 Easyb?
【发布时间】:2011-05-16 12:07:41
【问题描述】:

在最新版本的 easyb (0.9.8.2) 中,似乎可以使用“where”和“example”语句来进行数据驱动测试。

在我的 POM 中,我使用的是最新版本的 easyb 插件

            <plugin>
                <groupId>org.easyb</groupId>
                <artifactId>maven-easyb-plugin</artifactId>
                <version>1.1</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>test</goal>
                        </goals>
                    </execution>
                </executions>
                <configuration>
                  <storyreport>${project.build.directory}/easyb/easyb-stories.txt</storyreport>
                  <xmlreport>${project.build.directory}/easyb/report.xml</xmlreport>
                </configuration>
            </plugin>

但我无法让“where”/“example”语句正常工作。我尝试添加一个依赖项,例如

         <dependency>
           <groupId>org.easyb</groupId>
           <artifactId>easyb</artifactId>
           <version>0.9.8.2</version>
        </dependency>

但还是什么都没有,我有什么遗漏吗?

干杯, 塞巴斯蒂亚诺

【问题讨论】:

    标签: maven bdd maven-plugin easyb


    【解决方案1】:

    实际上它使用该依赖项可以工作,我想我们可以结束这个问题。

    【讨论】:

      猜你喜欢
      • 2010-09-23
      • 2021-07-17
      • 2014-07-05
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2010-11-03
      • 1970-01-01
      相关资源
      最近更新 更多