Activity Forums Salesforce® Discussions How does Salesforce calculates test coverage?

  • Marziya

    Member
    May 1, 2020 at 10:51 AM

    The Apex testing framework generates code coverage numbers for your Apex classes and triggers every time you run one or more tests. … To deploy Apex or package it for the Salesforce AppExchange, unit tests must cover at least 75% of your Apex code, and those tests must pass.

Log In to reply.