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

Add option to report covered lines in text report #836

Merged
merged 6 commits into from Oct 9, 2023

Conversation

Spacetown
Copy link
Member

Add option --txt-report-covered to report on covered lines instead of uncovered ones. This option only affects the TXT report.

Closes #507.

@Spacetown Spacetown added this to the Upcoming release milestone Oct 6, 2023
@codecov
Copy link

codecov bot commented Oct 6, 2023

Codecov Report

All modified lines are covered by tests ✅

Comparison is base (2c9f71b) 95.63% compared to head (c451b99) 95.64%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #836      +/-   ##
==========================================
+ Coverage   95.63%   95.64%   +0.01%     
==========================================
  Files          44       44              
  Lines        4328     4341      +13     
  Branches      844      850       +6     
==========================================
+ Hits         4139     4152      +13     
  Misses        111      111              
  Partials       78       78              
Files Coverage Δ
gcovr/formats/txt/__init__.py 100.00% <ø> (ø)
gcovr/formats/txt/write.py 98.07% <100.00%> (+0.27%) ⬆️

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

@Spacetown Spacetown merged commit b69dc3a into gcovr:main Oct 9, 2023
26 checks passed
@Spacetown Spacetown deleted the text_report_covered branch October 9, 2023 21:09
@Spacetown Spacetown removed this from the Upcoming release milestone Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Report on *covered* not *uncovered*
1 participant