setup_test_dir {testthat}R Documentation

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


[Package testthat version 0.11.0 Index]