I am trying to extract test coverage data by running all tests in batches of test classes. However, with each subsequent run, the previous coverage data also gets append to every next batch. Is there any way to clear test coverage data from apex?
In salesforce UI, we can go to Setup > Apex Test Execution > View History > Clear Test Data. I am not sure if it also clears the test coverage data.
Is there any way the same can be achieved via apex code or any sfdx commands?
Aucun commentaire:
Enregistrer un commentaire