filter_tests: Test Case filtering based on coverage

Description Usage Arguments

Description

This function attemps to filter the test cases for given functions based on code coverage information collected by covr.

Usage

1
2
3
filter_tests(tc_root, tc_result_root, functions, package_path,
  remove_tests = FALSE, exclude_existing_tests = FALSE, compact = FALSE,
  verbose = testr_options("verbose"))

Arguments

tc_root

directory with test cases to filter

tc_result_root

directory where the filtered test cases should be copied

functions

functions to be filtered aganist

package_path

root of the package to be filtered aganist

remove_tests

if to delete test cases that don't affect coverage from tc_root

exclude_existing_tests

If TRUE, existing tests will be ignored from the code coverage

compact

If TRUE, after filtering, tests will be compacted to a file per function

verbose

if to show additional infomation during filtering


reactorlabs/r-tests-old-version documentation built on May 17, 2019, 1:58 p.m.