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"
unknown
.
Automatically wrap all code within test_that()
? This ensures
that all expectations are reported, even if outside a test block.
the results as a "testthat_results" (list)