Activity Forums Salesforce® Discussions Can we use seeAllData = true in Test class in Salesforce?

  • MOHIT

    Member
    April 24, 2020 at 1:08 pm

    Yes, You can Use the isTest annotation to define classes or individual methods that only contain code used for testing your application. The isTest annotation is similar to creating methods declared as test Method.
    IsTest(SeeAllData=true)Annotation

  • Marziya

    Member
    April 24, 2020 at 1:10 pm

    Yes,we can.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos