damianszczepanik / cucumber-reporting

HTML reports for Cucumber
GNU Lesser General Public License v2.1
543 stars 402 forks source link

Cucumber fails build report with 0 tests #1104

Open tkaboris opened 1 year ago

tkaboris commented 1 year ago

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"

)

damianszczepanik commented 1 year ago

Attach JSON report