Loading

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

Дата публикации: Jul 16, 2024
Описание
Code is not highlighting with Red/Blue in developer console after running the test class.
Решение

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.

Номер статьи базы знаний

000386084

 
Загрузка
Salesforce Help | Article