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

Posted by: Pdfprep Category: PDI Tags: , ,

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