run_tests: Run All Tests

View source: R/run_tests.R

run_testsR Documentation

Run All Tests

Description

Run All Tests

Usage

run_tests(
  tests = test_db(),
  envir = parent.frame(),
  local = TRUE,
  defaults = list(),
  output = "stdout+stderr"
)

Arguments

tests

A list of tests to subset.

envir

The environment where tests are run.

local

Should tests be evaluated in a local environment or not.

defaults

(optional) Named list with default argument values.

output

If TRUE, standard output is captured, otherwise not.

Value

List of test results.


future.tests documentation built on May 31, 2023, 9:28 p.m.