Learn R Programming

testthat (version 0.2)

test_dir: Run all of the tests in a directory.

Description

Run all of the tests in a directory.

Usage

test_dir(path, reporter="summary")

Arguments

path
path to tests
reporter
reporter to use

Details

Test files start with test and are executed in alphabetical order (but they shouldn't have dependencies). Helper files start with helper and loaded before any tests are run.