test_file {testthat} | R Documentation |
Run all tests in specified file.
test_file(path, reporter = default_reporter(), env = test_env(), start_end_reporter = TRUE, load_helpers = TRUE, encoding = "unknown", wrap = 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? |
encoding |
File encoding, default is "unknown"
|
wrap |
Automatically wrap all code within |
the results as a "testthat_results" (list)