在尝试用Eclipse生成报告时,我遇到了一个意想不到的问题(Neon 3)。我使用的是NoraUi V2.x.x,它是硒、黄瓜等的组合。
正如您在下面附上的屏幕截图中所看到的,我在我的课堂上添加了以下内容:
@CucumberOptions(monochrome = true, glue = { "noraui.application.steps",
"noraui.browser.steps", "com.soprasteria.cdk.ACEWS.application.steps.ACEWS"},
plugin = { "html:target/reports/html", "junit:target/reports/junit/cucumber.xml", "json:target/reports/json/cucumber.json" },
features = { "src/test/resources" })然而,在我的执行结束时,说:
[INFO] --- maven-antrun-plugin:1.7:run (copy-gherkin-formatter-file) @ ACEWS ---
[INFO] Executing tasks
copy:[copy] Copying 1 file to D:\Profiles\rdesplats\workspace\ACEWS\target\reports\html但是没有生成json文件或xml文件。有没有人已经面对这个问题,知道如何解决这个问题?
我附上的截图

非常感谢,
拉马
发布于 2017-10-31 12:41:55
您必须在pom.xml文件如前所述中启用 Cucumber reporting。
https://stackoverflow.com/questions/47033246
复制相似问题