QuestionQ50

VerifiedTesting

Universal Containers (UC) wants to reduce its deployment time to production by controlling which tests execute in production. UC’s Architect has proposed running only subsets of tests.

Which two statements are true about running specific tests during deployments?

Choose two
Explanation

Selective test execution in a Salesforce Metadata API deployment requires the RunSpecifiedTests test level in DeployOptions and the specified tests in the deployment request. The specified-test list supports both complete test classes and individual test methods using ClassName.methodName. RunLocalTests runs all local tests rather than a chosen subset.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!