test_file {testthat} | R Documentation |
Run all tests in specified file.
test_file(path, reporter = "summary", env = test_env(), start_end_reporter = TRUE, load_helpers = TRUE)
path |
path to file |
reporter |
reporter to use |
env |
environment in which to execute the tests |
start_end_reporter |
whether to start and end the reporter |
load_helpers |
Source helper files before running the tests? |
the results as a "testthat_results" (list)