load_tests: Loads Future Tests

Description Usage Arguments Value

View source: R/test_db.R

Description

Loads Future Tests

Usage

1
2
3
4
5
6
7
load_tests(
  path = ".",
  recursive = TRUE,
  pattern = "[.]R$",
  root = getOption("future.tests.root", Sys.getenv("R_FUTURE_TESTS_ROOT",
    system.file("test-db", package = "future.tests", mustWork = TRUE)))
)

Arguments

path

A character string specifying a test script folder or file.

recursive

If TRUE, test-definition scripts are search recursively.

pattern

Regular expression matching filenames to include.

root

(internal) An alternative file directory from where future.tests tests are sourced.

Value

(invisible) the value of test_db().


future.tests documentation built on Oct. 10, 2021, 9:07 a.m.