forcedotcom / forcedotcom/devops-center-feedback
Force Unit Tests Pass Before Promoting to Next Stage
- Dominant language
- No language data
- Stars
- 61
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Originally posted by **matthewpomar** February 18, 2022
Hi,
Is there a way to automatically ensure all unit tests pass before changes are merged into the integration stage/branch? For example, an admin creates a validation rule that breaks 14 processes/flow/triggers and 30 Apex tests. The validation rule is promoted from the admin's development sandbox to the integration sandbox. The tests all fail in that integration environment now and other admins/developers are unable to test their changes there.
Would be nice to force all Apex tests pass before a change is allowed into the integration stage (or any stage of choice).
Contributor guide
Assessment
This issue has not been assessed yet.