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)
CRT-450: Salesforce Certified Platform Developer IFree dumps for CRT-450 in PDF format.High quality CRT-450 PDF and software. VALID exam to help you pass. |
C. @TestSetup is the correct answer.