source_test_helpers {testthat}R Documentation

Source the helper scripts if any.

Description

Helper scripts are R scripts accompanying test scripts but prefixed by helper. These scripts are sourced only one time in test environment.

Usage

source_test_helpers(path, env = globalenv())

Arguments

path

path to tests

env

environment in which to execute test suite.


[Package testthat version 0.11.0 Index]