What are two ways for a developer to execute tests in an org? (Choose two.)
A. Tooling API
B. Developer Console
C. Metadata API
D. Bulk API
CRT-450: Salesforce Certified Platform Developer IFree dumps for CRT-450 in PDF format.High quality CRT-450 PDF and software. VALID exam to help you pass. |
Answer is A and B.
We all know how to run test method using Developer Console and, There is tool named Tooling API to test salesforce org.
i had this question
what are 3 ways a developer can execute tests in an org?
setup menu
tooling
dx
(https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_testing_unit_tests_running.htm)
The answer is A and B.
A developer can execute tests on Apex class in the following ways:
1. Setup menu on salesforce UI (using setup → Apex Test Execution)
2. From Visual studio code
3. From Developer console
4. Use the runTests() call from the SOAP API to run tests synchronously
5. Using the Tooling REST API. Use the /runTestsAsynchronous/ and /runTestsSynchronous/ endpoints to run tests asynchronously or synchronously.
6. Run tests asynchronously using ApexTestQueueItem.
answer should be A and B?