matlab.unittest.TestSuite.fromName
Class: matlab.unittest.TestSuite
Package: matlab.unittest
Create Test
object from name of test
element
Syntax
Description
creates
a scalar testObj
= matlab.unittest.TestSuite.fromName(name
)Test
object, testObj
, from
the name of the test element, name
.
allows the suite to use the specified external parameters in place of corresponding
parameters that are defined within a parameterized test.testObj
= matlab.unittest.TestSuite.fromName(name
,'ExternalParameters',ExternalParameters
)
Input Arguments
|
Name of the |
| Array of |
Examples
Tips
The test class, function or script described by
name
must be on the MATLAB path when you are creating and running theTestSuite
.