How should a developer avoid hitting the governor limits in test methods?
A. Use @TestVisible on methods that create records.
B. Use Test.loadData() to load data from a static resource.
C. Use @IsTest (SeeAllData=true) to use existing data.
D. Use Test.startTest() to reset governor limits.
Suggest answer: D
Reference:
No comments:
Please share to make the community better.