View source: R/run_covr_skip_nstf.R
| create_base_tests_coverage | R Documentation |
Traces the package namespace with covr, then sources each test script from its own directory (so relative file references like 'load("solr.rda")' in MASS/tests work). Converts covr counters to a coverage object.
create_base_tests_coverage(pkg_source_path, pkg_name, test_files)
pkg_source_path |
Character; package source root. |
pkg_name |
Character; package name. |
test_files |
Character vector of test file paths (absolute or relative). |
list(coverage = <covr coverage object>)
Other nstf_utility:
check_covr_skip_testit(),
create_nstf_covr_list(),
create_tinytest_coverage(),
get_nstf_test_path(),
get_source_test_mapping_nstf(),
restrict_test_paths_to_framework(),
run_covr_skip_nstf()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.