testthat (version 1.0.2)

test_file: Run all tests in specified file.

Description

Run all tests in specified file.

Usage

test_file(path, reporter = "summary", env = test_env(),
  start_end_reporter = TRUE, load_helpers = TRUE)

Arguments

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?

Value

  • the results as a "testthat_results" (list)