test_srcrefs {covtracer} | R Documentation |
Extract test srcref objects
test_srcrefs(x)
## S3 method for class 'coverage'
test_srcrefs(x)
x |
A |
A list_of_srcref
as.data.frame.list_of_srcref
Other srcrefs:
pkg_srcrefs()
,
trace_srcrefs()
options(covr.record_tests = TRUE)
pkg_path <- system.file("examplepkg", package = "covtracer")
cov <- covr::package_coverage(pkg_path)
test_srcrefs(cov)