load_tests {future.tests}R 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().


[Package future.tests version 0.7.0 Index]