How many times we can call Test.StartTest() and Test.StopTest() – Salesforce Apex Issue

How many times we can call Test.StartTest() and Test.StopTest() methods in test class? Generally Test.StartTest() and Test.StopTest() methods are used to create another set of governor limits in a method. With this we can get rid of limits issues in test classes. As we are checking positive and negative scenarios by giving different inputs, we tend to reach the governor limits. So we write block of code in between Test.StartTest() and Test.StopTest() in the method and execute. Each test method is allowed to call these methods once only. So, we…

Read More