Activity Forums Salesforce® Discussions What is Unit Testing in Salesforce?

  • Anuj

    Member
    April 9, 2020 at 1:54 pm

    Hi Manish,
    Unit tests are class methods that verify whether a particular piece of code is working properly. Unit test methods take no arguments, commit no data to the database, and send no emails. Such methods are flagged with the @isTest annotation in the method definition.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos