Activity Forums Salesforce® Discussions How many @testSetup method are supported inside a test class in Salesforce?

  • How many @testSetup method are supported inside a test class in Salesforce?

    Posted by MOHIT on July 31, 2020 at 11:04 am

    How many @testSetup method are supported inside a test class in Salesforce?

    Sumit replied 4 years, 3 months ago 3 Members · 2 Replies
  • 2 Replies
  • Anuj

    Member
    July 31, 2020 at 1:42 pm

    There can be only one @testSetup method per test class.

  • Sumit

    Member
    August 3, 2020 at 5:06 am

    There can be only one @testSetup method per test class.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos