Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Development Lifecycle and Deployment Designer All Questions

View all questions & answers for the Certified Development Lifecycle and Deployment Designer exam

Exam Certified Development Lifecycle and Deployment Designer topic 1 question 23 discussion

Universal Containers (UC) wants to shorten their deployment time to production by controlling which tests to run in production. UC's Architect has suggested that they run only subsets of tests.
Which two statements are true regarding running specific tests during deployments? (Choose two.)

  • A. Specifying the test method is NOT supported in DeployOptions; therefore, specify only the test classes that are required to be executed.
  • B. To run a subset of tests, set the RunSpecifiedTests test level on the DeployOptions object and pass it as an argument to deploy() call.
  • C. To run a subset of tests, set the RunLocalTests test level on the DeployOptions object and pass it as an argument to deploy() call.
  • D. Specify both test classes and individual test methods that are required to be executed, as both are supported in DeployOptions.
Show Suggested Answer Hide Answer
Suggested Answer: AB 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Benaz
1 year ago
We can not specify the test method in deployment options. https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_deploy_run_specific_tests.htm
upvoted 1 times
...
Xx_Panda_xX
1 year, 6 months ago
Selected Answer: BC
Option A is incorrect because specifying the test method is supported in DeployOptions. You can provide specific test methods to execute as part of the deployment process. However, it is generally recommended to specify test classes instead of individual test methods to ensure proper coverage and maintainability.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...