-
Notifications
You must be signed in to change notification settings - Fork 502
Enable test coverage calculation for integrations #1344
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
Conversation
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
Trends 🧪 |
|
/test |
|
Some weird exceptions appeared. I'm verifying if they are reproducible: |
|
I'm not sure if the exception isn't related to overriding coverage reports (will try to solve this one first). @v1v Do you know if there is any argument for EDIT: It looks like we need to involve |
Exactly If you can use that approach most likely it should work :) |
|
Thank you for quick response, Victor! Actually I'm considering to use I'm happy to switch to magic from |
Don't use googleStorageUpload if the pipeline runs in parallel multiple stages, there is a known bug with that plugin. You can use the
|
|
I think we can review calculation rules and adjust weights if necessary. I understand it's a bit misleading that it assumes "lack of tests" as 0 and N tests as N. Currently it's possible to have:
EDIT: Maybe we should consider only binary rates (0 vs 1) for presence of any tests? Package examples above would be considered as:
Asset tests for package (not data streams), marked as "-" would be skipped in the calculation. WDYT? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
|
Regarding calculations, I think I like more the second option, but thinking on the files covered by the tests instead of based on the presence of tests, so a data stream without pipelines can have 100% coverage without pipeline tests. |

Fixes: #755
This PR updates Jenkinsfile to enable test coverage calculation for integrations (all test types).
Coverage report for AWS:
Coverage report for packages: