Learn R Programming

testthat (version 0.11.0)

setup_test_dir: Take care or finding the test files and sourcing the helpers.

Description

Take care or finding the test files and sourcing the helpers.

Usage

setup_test_dir(path, filter, env)

Arguments

path
path to tests
filter
If not NULL, only tests with file names matching this regular expression will be executed. Matching will take on the file name after it has been stripped of "test-" and ".r".
env
environment in which to source the helpers

Value

  • the test file paths