黄瓜的样式报告

时间:2018-09-21 00:38:07

标签: cucumber report functional-testing selenide

我有一个问题,我正在使用黄瓜进行自动化,并且我想在测试运行后创建包含所有项目的报告。此时此刻,我有一些报告没有提供失败或成功测试的信息,只有我可以显示场景。这是报告: enter image description here

这是我的de Cucumber配置代码,但是我没有找到包含所有信息的插件。

@RunWith(Cucumber.class)
@CucumberOptions(plugin = {"usage", "html:target/cucumber"},
        features = {"./src/test/resources/com/proteccion/advance/viabilidad"},
        glue = {"com.proteccion.advance.viabilidad.steps"},
        format = {"json:target/cucumber.json"}            )
public class RunCucumber{}

我想要这样的东西

enter image description here

如果您可以为我提供多种报告类型,我们将不胜感激

谢谢:)

1 个答案:

答案 0 :(得分:0)

朱利安!我不确定是否可以帮到您,但是我在黄瓜上使用诱惑报告非常成功,所以我的建议是尝试诱惑报告

https://docs.qameta.io/allure/#_cucumber_jvm

https://github.com/allure-framework/allure-cucumberjvm