generate: Generates tests from captured information.

Description Usage Arguments

Description

This function takes the tracing information collected by capture and generates testthat compatible testcases.

Usage

1
2
generate(output_dir, root = testr_options("capture.folder"), timed = F,
  clear_capture = T, verbose = testr_options("verbose"))

Arguments

output_dir

Directory to which the tests should be generated.

root

Directory with the capture information, defaults to capture.

timed

TRUE if the tests result depends on time, in which case the current date & time will be appended to the output_dir.

clear_capture

if FALSE captured traces will not be deleted after the generation so that subsequent calls to generate() can use them too

verbose

TRUE to display additional information.


reactorlabs/r-tests-old-version documentation built on May 17, 2019, 1:58 p.m.