A developer is writing tests for a class and needs to insert records to validate functionality. Which annotation method should be used to create records for every method in the test class?
A. @StartTest
B. @PreTest
C. @TestSetup
D. @isTest(SeeAllData=true)
Suggest answer: C
Reference:
No comments:
Please share to make the community better.