TestReport

TestReport[{test1,test2,}]

gives a report of the results of the verification tests testi.

TestReport["file"]

runs tests from a file, returning an analysis of the completed test run.

Details and Options

Examples

open allclose all

Basic Examples  (2)

Run a list of VerificationTest:

Run tests from a notebook:

Extract information on tests that failed and present in a TabView:

Scope  (1)

Basic Uses  (1)

Run a list of tests:

Properties of the TestReportObject:

Association of individual test results:

Compare the expected and actual outputs of tests where those differed:

Expected and actual messages where a message failure occurred:

Options  (6)

MemoryConstraint  (2)

Apply memory constraint to all given VerificationTest:

The individual options for the VerificationTest override the option set at the TestReport level:

SameTest  (2)

Apply SameTest to all given VerificationTest:

The individual options for the VerificationTest override the option set at the TestReport level:

TimeConstraint  (2)

Apply time constraint to all given VerificationTest:

The individual options for the VerificationTest override the option set at the TestReport level:

Introduced in 2014
 (10.0)
 |
Updated in 2016
 (11.0)
2019
 (12.0)