Deploy Your Components in Less Time (Pilot)

You can now deploy components to production by skipping the execution of all Apex tests for components that have been validated within the last four days. With Quick Deploy, you no longer have to wait for all tests to run for your deployment to complete in production, and your deployment will likely finish in less than 30 minutes.
Note

Note

This feature is currently available to select customers through a pilot program. To be nominated to join this pilot program, contact Salesforce. Additional terms and conditions may apply to participate in the pilot program. Please note that pilot programs are subject to change, and as such, we cannot guarantee acceptance into this pilot program or a particular time frame that this feature can be enabled. Any unreleased services or features referenced in this or other press releases or public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.

As part of a deployment to production, all Apex tests are run in the production organization. If the organization contains a large number of Apex tests, the execution of all tests can be time-consuming and can delay your deployment. To reduce deployment time to production, you can perform a quick deployment by skipping the execution of all tests. Quick deployments are available only for validations with test runs that have passed in the last four days (96 hours) and that meet the code coverage requirements: the overall code coverage in the organization must be at least 75%, and Apex triggers must have some coverage.

To perform a quick deployment, first run a validation-only deployment with Apex test execution on the set of components that you need to deploy to production. If your validation succeeds and qualifies for a quick deployment, you can start a quick deployment by clicking Quick Deploy next to your validation in the Deployment Status page or in the validation’s detail page. This button appears only for qualifying validations.

Quick Deploy button for a succeeded validation

You can start a quick deployment only through the Salesforce user interface. Quick Deploy is available for change sets and Metadata API-based deployments that appear in the user interface.

Note

Note

Quick Deploy is enabled for recent validations in which all Apex tests have executed successfully and code coverage requirements have been met. Note the following:

  • Because Apex tests are required to run in production, quick deployments are supported for validations that meet the criteria. This applies to change sets and Metadata API-based deployments (including the Force.com Migration Tool).
  • When deploying to non-production environments (sandbox), Apex tests aren’t required and aren’t run automatically. When using Metadata API (including the Force.com Migration Tool), Quick Deploy is supported in sandbox only for validations that explicitly enable the execution of tests (for example, via the runAllTests parameter for the Migration Tool). For change sets, Quick Deploy is not supported in sandbox because there is no option to enable test runs for change sets.
  • If you perform a deployment after a validation, whether through Quick Deploy or a regular deployment, all validations no longer qualify for quick deployment. You must revalidate the set of components that you need to quick-deploy.