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