New upstream release 4.2 Breaking changes:
--xml
or :option:--html
now take an optional output file name.
This potentially changes the interpretation of search paths.
In gcovr --xml foo
,
previous gcovr versions would search the foo
directory for coverage data.
Now, gcovr will try to write the Cobertura report to the foo
file.
To keep the old meaning, separate positional arguments like
gcovr --xml -- foo
.Improvements and new features:
Configuration file <configuration>
support (experimental).
(:issue:167
, :issue:229
, :issue:279
, :issue:281
, :issue:293
,
:issue:300
, :issue:304
)JSON output <json_output>
. (:issue:301
, :issue:321
, :issue:326
)Combining tracefiles <combining_tracefiles>
with :option:gcovr --add-tracefile
.
(:issue:10
, :issue:326
)SonarQube XML Output <sonarqube_xml_output>
. (:issue:308
)284
)--object-directory
heuristics.
(:issue:18
, :issue:273
, :issue:280
)catch
clause is now shown as uncovered.
(:issue:283
)--exclude-throw-branches
option
to exclude exception handler branches. (:issue:283
)--root ..
style invocation,
which might fix some CMake-related problems. (:issue:294
)299
)267
)1
, :issue:118
, :issue:307
)multiple reports <multiple output formats>
at the same time
by giving the output file name to the report format parameter.
Now, gcovr --html -o cov.html
and gcovr --html cov.html
are equivalent. (:issue:291
)334
)315
)Known issues:
--keep
option only works when using existing gcov files
with :option:-g
/:option:--use-gcov-files
.
(:issue:285
, :issue:286
)271
)166
)Documentation:
Exclusion marker <exclusion markers>
documentation.exception branches
(:issue:283
)uncovered files not shown
(:issue:33
, :issue:100
, :issue:154
, :issue:290
, :issue:298
)Internal changes:
269
, :issue:268
, :issue:269
)280
)Updates may require up to 24 hours to propagate to mirrors. If the following command doesn't work, please retry later:
sudo dnf upgrade --refresh --advisory=FEDORA-2020-699a095fa2
Please log in to add feedback.
This update has been submitted for testing by defolos.
This update's test gating status has been changed to 'waiting'.
This update's test gating status has been changed to 'ignored'.
This update has been pushed to testing.
This update can be pushed to stable now if the maintainer wishes
This update has been submitted for stable by bodhi.
This update has been pushed to stable.