{
"sections": [
"title",
"description",
"fields",
"special_access_rules",
"usage",
"wsdl_segment",
"field_reference"
],
"title": "ApexTestSuite - Data API",
"description": "Represents a suite of Apex classes to include in a test run. A TestSuiteMembership object associates each class with the suite. This object is available in API version 36.0 and later.",
"fields_columns": [
"type",
"properties",
"description"
],
"fields": {
"TestSuiteName": {
"type": "string",
"properties": "Create, Filter, Group, Sort, Unique, Update",
"description": "The name of the Apex test suite. This label appears in the user interface. This value is case-sensitive and must be unique."
}
},
"special_access_rules": "In API version 49.0 and later, users must have the View Setup and Configuration permission to access this object.",
"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.\n\nThe following SOQL query returns the membership object that\n relates this Apex class to this test\n suite.\n\nSELECT Id FROM TestSuiteMembership WHERE ApexClassId = '01pD0000000Fhy9IAC'\n\nAND ApexTestSuiteId = '05FD00000004CDBMA2'",
"wsdl_segment": "```xml\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n\n\n \n\n\n \n \n \n \n \n \n\n```",
"field_reference": {
"CreatedById": {
"field_label": "Created By ID",
"type": "reference",
"length": "18"
},
"CreatedDate": {
"field_label": "Created Date",
"type": "datetime"
},
"Id": {
"field_label": "Apex Test Suite ID",
"type": "id",
"length": "18"
},
"IsDeleted": {
"field_label": "Deleted",
"type": "boolean"
},
"LastModifiedById": {
"field_label": "Last Modified By ID",
"type": "reference",
"length": "18"
},
"LastModifiedDate": {
"field_label": "Last Modified Date",
"type": "datetime"
},
"SystemModstamp": {
"field_label": "System Modstamp",
"type": "datetime"
},
"TestSuiteName": {
"field_label": "Test Suite Name",
"type": "string",
"length": "255"
}
},
"field_reference_columns": [
"field_label",
"type",
"length"
]
}