-
Notifications
You must be signed in to change notification settings - Fork 11
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
chore: add code coverage #432
chore: add code coverage #432
Conversation
✅ Deploy Preview for arcus-webapi canceled.
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #432 +/- ##
=======================================
Coverage ? 83.09%
=======================================
Files ? 49
Lines ? 1686
Branches ? 152
=======================================
Hits ? 1401
Misses ? 223
Partials ? 62 Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report in Codecov by Sentry. |
Added |
I think we should not do that (apply that attribute). |
We do run the integration tests in the CI pipeline for every Arcus repo, but running multiple test projects with does not work (as far as I know) to combine in a single code coverage result. |
I 've done this before in an Azure DevOps pipeline. Do do that, I had to combine the reports generated by the separate test-runs and use a separate task to combine & publish them. |
Aha, okay, maybe that will be good here as the integration tests are actually all 'in-memory'/self-contained ones and do not require external resources. |
@fgheysels , did you have any idea how to add a threshold while combining 2 test reports? A threshold on any of the test runs does not take into account the combined results. That's a problem here as they are together above 80%, but not separate. |
This is kind of a real missing feature in Coverlet, to have a total threshold guard for merged code coverage reports. |
…els/arcus.webapi into chore/add-codecoverage
Add code coverage reporting.
Relates to arcus-azure/arcus#264