run_tests: Run Tests

Description Usage Arguments Examples

View source: R/run_tests.R

Description

Run Tests

Usage

1
2
run_tests(dir = NULL, files = NULL, ext = NULL,
  line_by_line = TRUE, beep = TRUE, beep_num = 1, ...)

Arguments

dir

A directory in which your test files live

files

A vector of test files, with or without extensions

ext

Optional extension, if does not exist in file name.

line_by_line

Do you want to step through with prompts? If non-interactive, this is not an option

beep

Should we beep when done?

beep_num

If so, what beep number should we use?

...

Args to be passed to test_it

Examples

1
2
3
4
## Not run: 
my_test_files %>% run_tests()

## End(Not run)

aedobbyn/dobtools documentation built on May 28, 2019, 2:33 a.m.