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 to file
reporter to use
environment in which to execute the tests
whether to start and end the reporter
Source helper files before running the tests?
File encoding, default is "unknown"
Automatically wrap all code within
the results as a "testthat_results" (list)