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.

Suggest answer: AB

Reference:

No comments:

Please share to make the community better.