尝试使用Eclipse(Neon 3)生成报告时遇到了意外问题。我正在使用NoraUi V2.x.x,它是Selenium,Cucumber等的组合。

您可以在[下面的我的附加屏幕截图]中看到,我在课程中添加了以下内容:

@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" })


但是,在执行结束时,Eclipse会说:

[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文件。
有没有人已经面对过这个问题,并且知道如何解决这个问题?

我所附的屏幕截图



非常感谢,

拉玛

最佳答案

您必须在pom.xml文件as described here中启用黄瓜报告。

10-06 14:04
查看更多