Loading

Code is not highlighted in the Developer Console post test class execution

Date de publication: Jul 16, 2024
Description
Code is not highlighting with Red/Blue in developer console after running the test class.
Résolution

In this scenario, one of the reasons you may not see the code coverage highlighting is that the 'Store Only Aggregate Code Coverage' option under 'Apex Test Execution' is checked. Make sure to option is unchecked.

From Setup, enter and select 'Apex Test Execution' in the side search bar. Then click the 'Options' button. Uncheck 'Store Only Aggregate Code Coverage' if currently checked.

Numéro d’article de la base de connaissances

000386084

 
Chargement
Salesforce Help | Article