flow_test {flow} | R Documentation |
Build Report From Tests
Description
Build a markdown report from test scripts, showing the paths taken in tested functions, and where they fail if they do. See also the vignette "Build reports to document functions and unit tests".
Usage
flow_test(
prefix = NULL,
code = TRUE,
narrow = FALSE,
truncate = NULL,
swap = TRUE,
out = NULL,
failed_only = FALSE
)
Arguments
prefix |
prefix to use for special comments in our code used as block headers,
must start with |
code |
Whether to display the code in code blocks or only the header,
to be more compact, if |
narrow |
|
truncate |
maximum number of characters to be printed per line |
swap |
whether to change |
out |
path to html output, if left |
failed_only |
whether to restrict the report to failing tests only |
Value
Returns NULL
invisibly (called for side effects)