load_tests: Loads Future Tests

View source: R/test_db.R

load_testsR Documentation

Loads Future Tests

Description

Loads Future Tests

Usage

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 May 31, 2023, 9:28 p.m.