I’m encountering an issue in Salesforce where some test classes are appearing in the code coverage report with 0% coverage, while others are not, despite both being annotated with @isTest. I want to understand why this is happening and how to control whether a test class appears in the coverage report with 0% coverage. Additionally, I’m running all tests through Setup > Apex Test Execution > Run All.
#Salesforce Developer
3 Antworten
It means those lines of code were not hit by whatever tests have been run.