COPADO-DEVELOPER practice question 7 of 15
The Staging Environment record has the Run all local tests checkbox enabled. A user story with Apex components and the promotion test level set to RunSpecifiedTests is being promoted and deployed. What test level is going to be enforced?
Full set: 84 questionsIn Copado, the Run All Local Tests checkbox that exists on the destination Pipeline Environment record overrides any test-level setting defined at User Story or promotion time. When the checkbox is ticked, Copado forces Salesforce to execute All Local Tests for every deployment that targets that environment, regardless of whether RunSpecifiedTests, RunLocalTests, or NoTestRun was chosen in the promotion wizard.
B – Environment-level “Run All Local Tests” always supersedes test-level selections in the promotion wizard. C – The checkbox on the destination environment controls behaviour; the source environment setting is ignored. D – Specified tests will be ignored because the destination requires All Local Tests.
1. Copado Documentation, “Pipeline Environments – Field Reference”, field ‘Run All Local Tests’, ¶2 (Summer ’23)
2. Copado Documentation, “Deployments – Test Level Behaviour”, section “Interaction with Run All Local Tests”, ¶1-3 (Winter ’24)
Keep practicing
Take the free COPADO-DEVELOPER practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other COPADO-DEVELOPER practice questions
- Question 1After pushing changes using the Copado CLI, you notice that the feature branch is being m…
- Question 2Your company has multiple developers working in separate environments and sometimes your …
- Question 3Ana is the new NextGen networks admin. She has taken a Git snapshot in dev1 but when look…
- Question 4What test level is applied to the deployment when you check the Promote & Deploy checkbox?
- Question 5Dave has been assigned the task of deleting a custom object. After committing the destruc…
- Question 6Where can you control the available metadata sources when you create a scratch org from a…
