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

Try calculating code coverage normally (per-package) as it had been done before #1194

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

zenovich
Copy link
Collaborator

@zenovich zenovich commented Oct 14, 2024

Otherwise, the coverage of a package depends on tests in other packages which can lead to situations where modifying a test or code of one package leads to having to add tests in other packages. Also, computing the code coverage for the whole project as a monolith contradicts the idea of the packages as separate libraries.

Also, there is a technical decision made in March 2019 stating the code coverage should be computed per-package (https://github.com/France-ioi/algorea-devdoc/pull/60/files#diff-36f14a930e1574edebba78bb847f62fb08ae10745ffe74ae65deed384d213285R71).

@zenovich zenovich added the Type: Maintenance Change required to improve the tech debt label Oct 14, 2024
Copy link

codecov bot commented Oct 14, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.54%. Comparing base (a93c5fd) to head (d6d04ac).

Additional details and impacted files
@@             Coverage Diff             @@
##            master    #1194      +/-   ##
===========================================
- Coverage   100.00%   96.54%   -3.46%     
===========================================
  Files          237      236       -1     
  Lines        14675    14670       -5     
===========================================
- Hits         14675    14163     -512     
- Misses           0      502     +502     
- Partials         0        5       +5     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@zenovich zenovich changed the title Try calculating code coverage normally (per-package) is it had been done before Try calculating code coverage normally (per-package) as it had been done before Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Maintenance Change required to improve the tech debt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant