Skip to main content

Generate All Cucumber reports Together

We can even generate all types of Cucumber Reports (HTML, JSON, XML) together and store that in desired directory.

Cucumber Runner

    plugin = {"pretty","junit:target/cucumber/cucumber.xml", "json:target/cucumber/cucumber.json","html:target/cucumber"},
    features = {"features"},
    monochrome = true,
    strict = true,
    dryRun = false,
    tags = {"@singleargument"}

Output Directory Screenshot

cucumber generate all reports together

Here, index.html generates for html, cucumber.json for JSON report and cucumber.xml is generated for XML reports.

Submitted by tgoswami on August 30, 2020

Tarun has 11+ years of experience in Quality Assurance in different domains like Banking, E-commerce, Health and Education.


At ProgramsBuzz, you can learn, share and grow with millions of techie around the world from different domain like Data Science, Software Development, QA and Digital Marketing. You can ask doubt and get the answer for your queries from our experts.