Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cucumber fails build report with 0 tests #1104

Open
tkaboris opened this issue Jul 26, 2023 · 1 comment
Open

Cucumber fails build report with 0 tests #1104

tkaboris opened this issue Jul 26, 2023 · 1 comment

Comments

@tkaboris
Copy link

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
Copy link
Owner

Attach JSON report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants