collect_cases: Collect cases

Description

These functions are mainly intended for internal use by manage_cases(). They are useful to programmatically collect cases.

Usage

1
2
3
4
5
6
7
collect_cases(package = ".", filter = NULL)

collect_new_cases(package = ".")

collect_mismatched_cases(package = ".")

collect_orphaned_cases(package = ".")

Arguments

package

Package description, can be path or package name. See as.package for more information.

filter

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".

Value

A cases object. collect_new_cases(), collect_mismatched_cases() and collect_orphaned_cases() return a filtered cases object.

See Also

manage_cases()


Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.