test_file {testthat}R Documentation

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)

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

Value

the results as a "testthat_results" (list)


[Package testthat version 0.11.0 Index]