These functions are mainly intended for internal use by
manage_cases(). They are useful to programmatically collect
cases.
collect_cases(package = ".", filter = NULL, invert = FALSE)collect_new_cases(package = ".")
collect_mismatched_cases(package = ".")
collect_orphaned_cases(package = ".")
Package description, can be path or package
name. See devtools::as.package() for more information.
If not NULL, only tests with file names matching this
regular expression will be executed. Matching be performed on the file
name after it has been stripped of "test-" and ".R".
should the regexp supplied to filter be inverted? Defaults to FALSE.
A cases object. collect_new_cases(),
collect_mismatched_cases() and collect_orphaned_cases()
return a filtered cases object.