黄瓜的风格报告

Style reports of cucumber

我有一个问题,我正在用黄瓜自动化,我想在测试 运行 之后创建包含所有项目的报告。在这一刻,我有报告不给我失败或成功测试的信息,只有我可以显示 scenarios.This 是报告:

这是我的 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{}

我想要这样的东西

如果你能给我多种报告类型,我将不胜感激

谢谢 :)

朱利安!我不确定它是否有帮助,但我使用 Allure report for cucumber 非常成功,所以我的建议是尝试 Allure report

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

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