startTest() and Test. stopTest()denotes the start and end of the test cases that we want t check in our code their job is to primarily allow us to reset the governor limits within the context of your test execution and to be able to test asynchronous methods. These two statements cannot be called more than once within a testMethod.
This reply was modified 6 years, 2 months ago by Forcetalks.
This reply was modified 6 years, 2 months ago by Forcetalks.