These functions are mainly intended for internal use by
manage_cases()
. They are useful to programmatically collect
cases.
collect_cases(package = ".", filter = NULL)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 will take on the file
name after it has been stripped of "test-"
and ".R"
.
A cases
object. collect_new_cases()
,
collect_mismatched_cases()
and collect_orphaned_cases()
return a filtered cases
object.