coverage_has_recorded_tests {covtracer}R Documentation

Test that the coverage object retains testing information

Description

Test whether the coverage object has expected fields produced when coverage was captured with option(covr.record_tests = TRUE).

Usage

coverage_has_recorded_tests(coverage)

Arguments

coverage

a covr coverage object

Value

A logical value, indicating whether the coverage object has recorded tests, or NA when it does not appear to have traced any test code.

See Also

Other coverage_tests: coverage_check_has_recorded_tests(), coverage_get_tests()


[Package covtracer version 0.0.1 Index]