covr 3.3.0
New Features
-
New
azure()function added to make it easy to use covr on Azure
Pipelines
(#370) -
Work around issues related to the new curly curly syntax in rlang (#379, #377, rlang#813)
-
Compiled code coverage has been improved, in particular C++ templates now
contain the merged coverage of all template instances, even if the instances
were defined in separate compilation units. (#390)
Bugfixes and minor improvements
-
codecov()now includes support for the flags field (#365) -
codecovnow lookscodecov.ymlfor token ifCODECOV_TOKENenvvar is not
set (@MishaCivey #349). -
per_line()now does not track lines with only punctuation such as}or{(#387) -
tally_coverage()now includes compiled code, like it did previously (#384) -
Define the necessary coverage flags for C++14, C++17 and C++20 (#369).
-
to_cobertura()now works with Cobertura coverage-04.dtd (@samssann, #337). -
R6 class generators prefixed with
.are now
included in coverage results (@jameslamb, #356). -
package_coverage()gains optionpre_clean, set toFALSEto disable
cleaning of existing objects before runningpackage_coverage()(@jpritikin, #375)