Opt Out of Collecting Code Coverage Information During Test Runs

Speed up Apex test runs by opting out of collecting code coverage information when you want faster feedback on pass or fail status rather than coverage data. When you opt out, no data about Apex test coverage is stored.

Where: This change applies to Lightning Experience and Salesforce Classic in Enterprise, Performance, Unlimited, and Developer editions.

How: To opt out of collecting code coverage information during test runs, do one of the following.

  • From Setup, search for Apex Test Execution. Choose Select Tests, and select Skip Code Coverage.
  • From the Developer Console, select Test | New Run | Settings | Skip Code Coverage.