Activity › Forums › Salesforce® Discussions › What is @IsTest annotation in Salesforce? Salesforce® Discussions What is @IsTest annotation in Salesforce? Posted by MOHIT on August 31, 2020 at 12:23 PM What is @IsTest annotation in Salesforce? Manish replied 5 years, 9 months ago 4 Members · 3 Replies 3 Replies 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. [adinserter block='9'] 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. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me