Which method annotation should be used to create records for every method in the test class?

A developer is creating a test coverage for a class and needs to insert records to validate functionality.

Which method annotation should be used to create records for every method in the test class?
A . @BeforeTest
B . @isTest(SeeAllData=True)
C . @TestSetup
D . @PreTest

Answer: C

Latest PDI Practice Questions with 191 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments