Activity Forums Salesforce® Discussions What is Test.startTest() and Test.stopTest()? When you will use it?

  • What is Test.startTest() and Test.stopTest()? When you will use it?

    Posted by Sumit on April 3, 2020 at 12:45 pm

    What is Test.startTest() and Test.stopTest()? When you will use it?

    Aditya replied 4 years, 1 month ago 6 Members · 5 Replies
  • 5 Replies
  • Ayush

    Member
    April 3, 2020 at 1:55 pm

    reset the governor limits.

  • Kirandeep

    Member
    April 3, 2020 at 3:06 pm

    Test.startTest() and Test.stopTest() is used to reset the governor Limits .

  • Pooja

    Member
    April 3, 2020 at 5:03 pm

    It is used to reset the governor limits.

  • Shubham

    Member
    April 3, 2020 at 6:00 pm

    hi sumit,
    these functions are used to reset the governor limits

  • Aditya

    Member
    April 3, 2020 at 7:53 pm

    Hi Sumit,
    Test.startTest() and test.stopTest() are the methods which are used in apex testing. It is used to rest the governor limits

Log In to reply.

Popular Salesforce Blogs