Activity Forums Salesforce® Discussions What is @IsTest annotation in Salesforce?

  • Anjali

    Member
    August 31, 2020 at 12:26 pm

    Use the isTest annotation to define classes or individual methods that only contain code used for testing you application.

  • Deepak

    Member
    August 31, 2020 at 1:20 pm

    The @isTest annotation can take multiple modifiers within parentheses and separated by blanks.

  • Manish

    Member
    September 1, 2020 at 4:19 pm

    The @isTest(SeeAllData=true) annotation is used to open up data access when applied at the class or method level.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos