cucumber-reporting icon indicating copy to clipboard operation
cucumber-reporting copied to clipboard

Cucumber fails build report with 0 tests

Open tkaboris opened this issue 1 year ago • 1 comments

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

net.masterthought maven-cucumber-reporting 5.6.2 execution test generate Cucumber HTML Reports ${project.build.directory} ${project.build.directory} **/cucumber.json
		@CucumberOptions(
    features = "src/test/resources/features",
    glue = "stepDefinitions",
    plugin = {
            "html:target/cucumber-reports/cucumber.html",
            "json:target/cucumber-reports/cucumber.json"
    },
    tags = "@Regression"

)

tkaboris avatar Jul 26 '23 21:07 tkaboris

Attach JSON report

damianszczepanik avatar Jul 31 '23 20:07 damianszczepanik