MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1

Done TestCarpet




Alternatively, create the same test suite directly from the fromFile method of
TestSuite.


import matlab.unittest.selectors.HasParameter
s1 = matlab.unittest.TestSuite.fromFile('TestCarpet.m',...
HasParameter('Name','small'));


See Also


matlab.unittest.TestCase | matlab.unittest.TestSuite.selectIf |
matlab.unittest.selectors.HasParameter


Related Examples



  • “Create Advanced Parameterized Test” on page 33-88


See Also
Free download pdf