Activity Forums Salesforce® Discussions why unit testing is important in Salesforce?

  • Anuj

    Member
    May 7, 2020 at 2:03 PM

    It ensures that 75% of the apex code is tested and executed. It verifies that all the classes and triggers work as expected and produce the desired output. … Unit tests help in meeting code coverage requirements for deploying the code to production

  • [adinserter block='9']
  • Anjali

    Member
    May 8, 2020 at 10:58 AM

    Testing is an important part of SDLC. So, before deploying our code to production environment, Salesforce requires at least 75% of your code to be covered by our test classes.

Log In to reply.