Get code coverage using REST API query

6 febrero, 2017 Salesforce

Let’s suppose you need to find all the classes or triggers starting with “MY_” and having 0 lines covered. The REST API query we need would be as follows:

Obviously, it will return a JSON string with the classes and triggers which match the criteria. There are a lot of online tools to view the JSON response as a tree view, such as Code beauty and JSON Viewer or even convert it into CSV.

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *

www.000webhost.com