What are three ways for a developer to execute tests in an Org from the following options ?
- Bulk API
- Tooling API
- Setup Menu
- MetaData API
In my opinion, it should be Tooling API, Setup Menu, and MetaData API. Because -
Setup Menu - By browsing to setup->Apex Test Execution
Tooling API - You can also run tests using the Tooling REST API. Use the /runTestsAsynchronous/ and /runTestsSynchronous/ endpoints to run tests asynchronously or synchronously.
MetaData API - Not sure about it. But found a link - Unit tests executed via metadata API failing on call to system.test.startTest
Also how can a developer check the test coverage of active Process Builder and Flows before deploying them in a change set?
Please suggest your opinion with references and steps to produce. Thanks