---
title: "Discussion on \"When does Salesforce run Apex tests on a deployment, and how do you run fewer?\" | Hashnode"
description: "Discussion on \"When does Salesforce run Apex tests on a deployment, and how do you run fewer?\". Apex tests are the slowest part of most Salesforce deployments to production. This post explains when Salesforce runs them, which levels you can choose, the coverage rules that limit your options, and"
url: "https://hashnode.com/posts/when-does-salesforce-run-apex-tests-on-a-deployment-and-how-do-you-run-fewer/6b0afc0af13b025df9e35f17"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [When does Salesforce run Apex tests on a deployment, and how do you run fewer?](https://diffbridge.hashnode.dev/when-does-salesforce-run-apex-tests-on-a-deployment-and-how-do-you-run-fewer?utm_source=hashnode&utm_medium=feed)

Apex tests are the slowest part of most Salesforce deployments to production. This post explains when Salesforce runs them, which levels you can choose, the coverage rules that limit your options, and

3d ago · 5 min read · diffbridge.hashnode.dev  
Updated 1d ago  
Read the article

-   [#salesforce](https://hashnode.com/tag/salesforce)
-   [#devops](https://hashnode.com/tag/devops)
-   [#apex](https://hashnode.com/tag/apex)
-   [#testing](https://hashnode.com/tag/testing)

## Written by

[Diffbridge](https://hashnode.com/@diffbridge)

@diffbridge

  
[View profile](https://hashnode.com/@diffbridge)

Salesforce deployments with a visible test plan, a per-org queue and rollback.

I build Diffbridge, a Salesforce deployment tool (diffbridge.com). Notes on Apex tests and CI queues. Posts here are republished from the Diffbridge blog.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
