Run all of the tests in a directory.
Test files start with
test and are executed in
alphabetical order (but they shouldn't have
dependencies). Helper files start with
loaded before any tests are run.
test_dir(path, filter = NULL, reporter = "summary", env = NULL)
- path to tests
- reporter to use
- 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
- environment in which to execute test suite. Defaults to new