This function attemps to filter the test cases for given functions based on code coverage information collected by covr.
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"))
|
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 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.