Activity › Forums › Salesforce® Discussions › What is Test.startTest() and Test.stopTest()? When you will use it? Salesforce® Discussions What is Test.startTest() and Test.stopTest()? When you will use it? Posted by Sumit kumar on April 3, 2020 at 12:45 PM What is Test.startTest() and Test.stopTest()? When you will use it? Aditya replied 6 years, 1 month ago 6 Members · 5 Replies 5 Replies Ayush Member April 3, 2020 at 1:55 PM reset the governor limits. [adinserter block='9'] 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. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me