Package: matlab.unittest
Result of running test suite
The matlab.unittest.TestResult
class holds the
information describing the result of running a test suite using the matlab.unittest
framework.
The results include information describing whether the test passed,
failed, or ran to completion, as well as the duration of each test.
TestResult
arrays are created and returned by
the test runner, and are of the same size as the suite which was run.
|
The name of the The |
|
Logical value showing if the test passed. When the |
|
Logical value showing if test failed. A TRUE
Fatal assertions are also failing conditions, but in the event
of a fatal assertion failure, the entire framework aborts and a |
|
Logical value showing if test did not run to completion. A TRUE
Fatal assertions are also conditions that prevent the completion
of tests, but in the event of a fatal assertion failure the entire
framework aborts and a |
|
Time elapsed running test. The Fixture setup time is accounted for in the duration of the first test suite array element that uses the fixture. Fixture teardown time is accounted for in the duration of the last test suite array element that uses the fixture. The total run time for a suite of tests exceeds the sum of the
durations for all the elements of the suite because the |
|
Data for test result. The |
Create a table from the TestResult
object
for access to table
functionality
such as sorting rows, displaying a summary, and writing the table
to a file. For example,
rt = table(results);