Class: matlab.unittest.TestCase
Package: matlab.unittest
Record diagnostic information during test execution
log(testCase,diagnostic)
log(testCase,v,diagnostic)
log(
logs the supplied diagnostic. The log method provides a means for tests to log information during their execution. The testing framework displays logged messages only if you configure it to do so by adding an appropriate plugin, such as the testCase
,diagnostic
)matlab.unittest.plugins.LoggingPlugin
.
log(
logs the diagnostic at the specified verbosity level, testCase
,v
,diagnostic
)v
.