在最新版本的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>但还是什么都没有,我是不是遗漏了什么?
干杯,塞巴斯蒂亚诺
发布于 2011-05-16 23:03:14
实际上,它使用该依赖项工作,我想我们可以结束这个问题。
https://stackoverflow.com/questions/6017113
复制相似问题