No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
Running Tests in a Deployment
For deployment to a production organization, all the tests in your organization, except for those that originate from installed managed packages, are automatically run. If any of the tests fail, the entire deployment will roll back.
If the deployment includes components for any of the following metadata types, all the tests are automatically run.
- ApexClass
- ApexComponent
- ApexPage
- ApexTrigger
- ArticleType
- BaseSharingRule
- CriteriaBasedSharingRule
- CustomDataType
- CustomField
- CustomObject
- DataCategoryGroup
- Flow
- InstalledPackage
- NamedFilter
- OwnerSharingRule
- PermissionSet
- Profile
- Queue
- RecordType
- RemoteSiteSetting
- Role
- SharingReason
- Territory
- Validation Rules
- Workflow
For example, no tests are run for the following deployments:
- One CustomApplication component
- 100 Report components and 40 Dashboard components
All tests are automatically run for the following deployments:
- One CustomField component
- One ApexComponent component and one ApexClass component
- Five CustomField components and one ApexPage component
- 100 Report components, 40 Dashboard components, and one CustomField component