collect_cases

0th

Percentile

Collect cases

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

Usage
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 devtools::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()

Aliases
  • collect_cases
  • collect_new_cases
  • collect_mismatched_cases
  • collect_orphaned_cases
Documentation reproduced from package vdiffr, version 0.3.0, License: GPL-3 | file LICENSE

Community examples

Looks like there are no examples yet.