在最新版本的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>
但仍然没有,我有什么遗漏吗?
干杯,塞巴斯蒂亚诺