ApexTestSuite
Supported SOAP API Calls
create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()
Supported REST API HTTP Methods
Query, GET, POST, PATCH, DELETE
Fields (ens Namespace)
Field Name | Description |
---|---|
TestSuiteName |
|
Fields (mns Namespace)
Field Name | Field Type | Description |
---|---|---|
testClassName | string[] | A list of Apex test classes, specified by name, to include in this test suite. |
Usage
Insert a TestSuiteMembership object using an API call to associate an Apex class with an ApexTestSuite object. (ApexTestSuite and TestSuiteMembership aren’t editable through Apex DML.) To remove the class from the test suite, delete the TestSuiteMembership object. If you delete an Apex test class or test suite, all TestSuiteMembership objects that contain that class or suite are deleted.