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.

Sun, 08/30/2020 - 23:03
Tarun Goswami is a highly experienced professional, currently serving as Technical Lead at a well-established IT services company. With over 12 years of experience across multiple domains, he demonstrates his expertise and passion for the industry through his engaging and informative blog writing in his spare time.