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

Number of tests (total, failed, etc.) vary wildly #13

Open
berndgoetz opened this issue Jan 22, 2016 · 2 comments
Open

Number of tests (total, failed, etc.) vary wildly #13

berndgoetz opened this issue Jan 22, 2016 · 2 comments

Comments

@berndgoetz
Copy link

When running our tests, the reported numbers of test executions vary wildly. Here are some outcomes, based on the same code base, server and test client:

Tests run: 2622, Failures: 14, Errors: 0, Skipped: 8
Tests run: 2609, Failures: 4, Errors: 0, Skipped: 1
Tests run: 2302, Failures: 0, Errors: 404, Skipped: 1268
Tests run: 2623, Failures: 0, Errors: 0, Skipped: 0
Tests run: 2302, Failures: 0, Errors: 404, Skipped: 1268
Tests run: 2609, Failures: 4, Errors: 0, Skipped: 5

I haven't figured out the math here. Adding up the numbers don't match the overall number of tests. Any explanations? Any idea how to fix/improve this? Thanks.

@AlexeyBuzdin
Copy link
Contributor

This appears to be a global issue with cucumber cucumber/cucumber-jvm#577 and cucumber/cucumber-jvm#263.
Cucumber report is generated correctly though.
Managed to create a workaround with TeamCity and Bamboo configurations.
Will look into the issue further

@AlexeyBuzdin
Copy link
Contributor

The surefire integration in Cucumber isn't that stable at all, so a possible solution is to create a stand-alone maven/gradle plugin and use cucumber.json as a source for reports. The .json itself is generated correctly and supported in Bamboo.
The issue will be solved with #45

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