This function takes the tracing information collected by capture and generates testthat compatible testcases.
1 2 | generate(output_dir, root = testr_options("capture.folder"), timed = F,
clear_capture = T, verbose = testr_options("verbose"))
|
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. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.