cucumber-reporting
cucumber-reporting copied to clipboard
Cucumber fails build report with 0 tests
Hi, Sometimes i have to run the pipeline with 0 tests and cucumber then fails to build. How can I work around it? If there are 1 test it passes, if 0 it fails.
I was thinking to configure somehow to allow passing with 0 ran tests. What would be your suggestion? Thank you
@CucumberOptions(
features = "src/test/resources/features",
glue = "stepDefinitions",
plugin = {
"html:target/cucumber-reports/cucumber.html",
"json:target/cucumber-reports/cucumber.json"
},
tags = "@Regression"
)
Attach JSON report