reportFinalizedResult
Class: matlab.unittest.plugins.TestRunnerPlugin
Namespace: matlab.unittest.plugins
Extend reporting of finalized test results
Description
reportFinalizedResult(
enables the reporting of finalized test results. A test result is finalized when it
is no longer possible for any qualifications to modify it. The test runner might
modify previously run test results when it executes code inside
plugin
,pluginData
)TestClassTeardown
methods or tears down shared test fixtures,
for example.
A plugin that overrides the reportFinalizedResult
method is recommended for
streaming or inline reporting of test results. If you implement this method, the
test runner reports the results as soon as they are finalized. The plugin can then
report test results while the test suite is still running, rather than waiting until
the entire suite is complete. The testing framework can evaluate
reportFinalizedResult
within the scope of the runTestSuite
, runTestClass
, or runTest
methods.
Input Arguments
Examples
Version History
Introduced in R2015b