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

  • 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.

Popular Salesforce Blogs

Popular Salesforce Videos