flow_test | R Documentation |
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".
flow_test(
prefix = NULL,
code = TRUE,
narrow = FALSE,
truncate = NULL,
swap = TRUE,
out = NULL,
failed_only = FALSE
)
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 |
Returns NULL
invisibly (called for side effects)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.