test_dir {testthat} | R Documentation |
Test files start with test
and are executed in alphabetical order
(but they shouldn't have dependencies). Helper files start with
helper
and loaded before any tests are run.
test_dir(path, filter = NULL, reporter = "summary", env = test_env(), ...)
path |
path to tests |
filter |
If not |
reporter |
reporter to use |
env |
environment in which to execute test suite. |
... |
Additional arguments passed to |
the results as a "testthat_results" (list)