matlab.unittest.FunctionTestCase 类
命名空间: matlab.unittest
超类: matlab.unittest.TestCase
用于进行基于函数的测试的 TestCase
描述
FunctionTestCase
类是 TestCase
的子类,允许基于函数的测试使用 matlab.unittest.qualifications
包中的验证函数。对于每个测试函数,MATLAB® 都会创建一个 FunctionTestCase
类实例并将其传递到测试函数。
functiontests
函数会构造 FunctionTestCase
实例,因此测试作者无需直接构造此类。
版本历史记录
在 R2013b 中推出