runTest
类: matlab.unittest.plugins.TestRunnerPlugin
包: matlab.unittest.plugins
扩展单个 Test
元素的运行
说明
runTest(
扩展单个测试套件元素的运行。此方法允许您覆盖运行 plugin
,pluginData
)TestSuite
数组中的标量 Test
元素的方法,包括创建 TestCase
,以及 TestMethodSetup
和 TestMethodTeardown
例程。假设测试框架完成所有脚手架设置,它将针对每个 Test
元素调用该方法一次。
输入参数
|
插件对象,指定为 |
|
|
示例
版本历史记录
在 R2014a 中推出