Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Spacetown
Copy link
Member

As suggested in #397 an option --json-base is added which is prepended to the file names in the JSON reports. The value is normalized first and \are replaced by /.

Closes #397

@Spacetown Spacetown force-pushed the add_base_path_for_json branch from f1915f2 to 4835fc7 Compare August 10, 2022 20:57
@codecov
Copy link

codecov bot commented Aug 10, 2022

Codecov Report

Merging #656 (0362367) into master (4049675) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #656   +/-   ##
=======================================
  Coverage   95.23%   95.24%           
=======================================
  Files          24       24           
  Lines        3402     3409    +7     
  Branches      639      642    +3     
=======================================
+ Hits         3240     3247    +7     
  Misses         91       91           
  Partials       71       71           
Flag Coverage Δ
ubuntu-18.04 93.95% <100.00%> (+0.01%) ⬆️
windows-2019 94.89% <100.00%> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
gcovr/configuration.py 99.36% <100.00%> (ø)
gcovr/tests/test_gcovr.py 97.71% <100.00%> (+0.01%) ⬆️
gcovr/utils.py 89.10% <100.00%> (+0.10%) ⬆️
gcovr/writer/cobertura.py 100.00% <100.00%> (ø)
gcovr/writer/html.py 94.98% <100.00%> (ø)
gcovr/writer/json.py 96.74% <100.00%> (+0.10%) ⬆️
gcovr/writer/txt.py 97.33% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@Spacetown Spacetown force-pushed the add_base_path_for_json branch from 27a3988 to 0362367 Compare August 20, 2022 19:49
@Spacetown Spacetown merged commit 26fc243 into gcovr:master Aug 20, 2022
@Spacetown Spacetown deleted the add_base_path_for_json branch August 20, 2022 19:57
D-Walther pushed a commit to D-Walther/gcovr that referenced this pull request Jun 16, 2025
* Add option to define a base name for the JSON report.
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.

Merging coverage run options

2 participants