Class: matlab.unittest.TestSuite
Package: matlab.unittest
Create test suite array from tests in project
suite = matlab.unittest.TestSuite.fromProject(project)
suite = matlab.unittest.TestSuite.fromProject(project,selector)
suite = matlab.unittest.TestSuite.fromProject(project,Name,Value)
creates a suite
= matlab.unittest.TestSuite.fromProject(project
)TestSuite
array from all test files contained in the specified
project that are labeled with the Test
classification. The
project
input is either a loaded matlab.project.Project
object or the root folder of a project. This method is not
recursive. It includes only those tests in the project specified. To include tests from
referenced projects, set 'IncludingReferencedProjects'
to true
. For more information
on projects, see Projects.
creates a suite
= matlab.unittest.TestSuite.fromProject(project
,selector
)TestSuite
array from all test files contained in the specified
project that are labeled with the Test
classification and that satisfy the
selector
. For more information on selectors, see matlab.unittest.selectors Package
.
creates a suite
= matlab.unittest.TestSuite.fromProject(project
,Name,Value
)TestSuite
array from all test files contained in the specified
project that are labeled with the Test
classification and that satisfy the
conditions specified by one or more Name,Value
pair arguments.
matlab.unittest.Test
| matlab.unittest.TestRunner
| matlab.unittest.TestSuite.fromFolder
| matlab.unittest.TestSuite.fromPackage