Class: matlab.unittest.plugins.TestRunnerPlugin
Package: matlab.unittest.plugins
Enable reporting of finalized TestResults
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 runner is still running the test suite, rather than
waiting until the entire test suite is complete.
reportFinalizedResult(plugin,pluginData)
reportFinalizedResult(
enables
the reporting of finalized plugin
,pluginData
)TestResults
. The test
runner uses this method to report finalized
test results to the plugin. By overriding the method in your TestRunnerPlugin
class,
you can report information about each test result as soon as the test
runner determines the test is finalized.
The test framework evaluates this method as soon as it can guarantee
that the test result is finalized for a test suite element. It can
evaluate this method within the scope of the runTestSuite
, runTestClass
,
or runTest
methods of the TestRunnerPlugin
.