Newer Version Available
ApexTestSuite
File Suffix and Directory Location
ApexTestSuite components have the suffix .testSuite and are stored in the testSuites folder.
Version
ApexTestSuite components are available in API version 38.0 and later.
Fields
| Field Name | Field Type | Description |
|---|---|---|
| testClassName | string[] | A list of Apex test classes, specified by name, to include in this test suite. |
Declarative Metadata Sample Definition
To include namespaced tests in an Apex test suite, specify each namespace individually. Local Apex tests consist of all tests in the org that don’t originate from managed packages.
These syntaxes are supported in package.xml. If the test classes in your suites are already present in the target org, you can omit the ApexClass type in package.xml.
Wildcard Support in the Manifest File
This metadata type supports the wildcard character * (asterisk) in the package.xml manifest file. For information about using the manifest file, see Deploying and Retrieving Metadata with the Zip File.