compareTranscriptAndOutput: Compare desired and actual output from running...

Description Usage Arguments Details Value Author(s)

Description

Compare desired and actual output from running transcript-style tests. This function is called by the scripts supplied with the EasyTests package.

Usage

1
compareTranscriptAndOutput(name, tests, results, verbose = TRUE)

Arguments

name

Name of the file of tests.

tests

A list of test blocks, as generated by parseTranscriptFile

results

A list of test blocks, as generated by parseTranscriptFile

verbose

A logical flag indicating whether to write progress reports to stdout.

Details

Compares tests line-by-line, with some control over how matching is done and what mismatches counts as errors, warnings, or informational events.

Value

Returns an object of class RtTestSetResults, for which there are summary and print methods.

Author(s)

Tony Plate


scriptests documentation built on May 1, 2019, 6:51 p.m.