【发布时间】: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