-
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 (ποΈπ§π·ββοΈ) #386
base: main
Are you sure you want to change the base?
chore: add code coverage (ποΈπ§π·ββοΈ) #386
Conversation
β Deploy Preview for arcus-messaging canceled.
|
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #386 +/- ##
=======================================
Coverage ? 92.11%
=======================================
Files ? 86
Lines ? 2854
Branches ? 123
=======================================
Hits ? 2629
Misses ? 201
Partials ? 24 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 at Codecov. |
Excluded the pumps projects as these are tested in the integration tests and are mostly containing code to contact Azure resources a.k.a. integration stuff. |
I understand the reasoning, but it feels a bit wrong to me. It feels like it's a way to pimp the code-coverage results and although I know that they're being tested via integration tests, I don't think we should 'fix' this in this way. Ideally we run code-coverage during integration tests as well,and merge those results together with the unit-test results into a single report. We can maybe fix this by making sure that we only publish the code-coverage reports from the nightly build pipelines where the integration-tests are run as well. |
That's not entirely true. We have two build pipelines: CI and Release, and in both pipelines we run both the unit and integration tests. The problem with merging the reports, is that the threshold functionality does not work as it still inspects the separate reports. The same problem occurred in the Web API project. I think it will be the choice to either merge the reports and let go of the threshold, or only running the unit tests. |
For now, I would say: let go of the threshold. |
Waiting for arcus-azure/arcus#292 |
Add code coverage reporting.
Relates to arcus-azure/arcus#264