Description Usage Arguments Details Value Author(s)
Compare desired and actual output from running transcript-style tests. This function is called by the scripts supplied with the EasyTests package.
1 | compareTranscriptAndOutput(name, tests, results, verbose = TRUE)
|
name |
Name of the file of tests. |
tests |
A list of test blocks, as generated by |
results |
A list of test blocks, as generated by |
verbose |
A logical flag indicating whether to write progress reports to stdout. |
Compares tests line-by-line, with some control over how matching is done and what mismatches counts as errors, warnings, or informational events.
Returns an object of class RtTestSetResults
, for which there
are summary and print methods.
Tony Plate
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.