1

I am fixing all the test classes start with IT_ coverage in my org.

The failed class is already covered by some other handler class. So its now 80%.

Now i want to re-set all class to 0 to test my test class able to cover. It happen only when i click edit and save the original class.

is that possible to re-set all class coverage reset to 0 at once?

i tried service console to write a simple code on ApexTrigger and apex class object and update statement but DML not allowed on this [Tooling API checkbox enabled].

update ([SELECT Id, Name FROM ApexTrigger WHERE Name LIKE 'IT_%']);

Any suggestion.

5

Go to Apex Test Execution and once you get through any dialogues, you should get a screen that shows a list of all executed tests labeled Apex Test Results. It will have a button on it labeled "Clear Test Data". Click on that to clear your results for individual Test Classes. The screen shot below is from an org with Lightning Enabled.

Apex Test Results Screen Capture

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.