Activity Forums Salesforce® Discussions What are the advantages of Testsetup in test classes?

  • Kumar

    Member
    February 15, 2017 at 2:34 pm

    Hi Sushant,

    You can use @testSetup to define common test data for all the methods of a test class.

    Go to the developer guide for more details.

     

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos