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

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 I

Free dumps for CRT-450 in PDF format.

High quality CRT-450 PDF and software. VALID exam to help you pass.

Download Printable PDF. VALID exam to help you PASS.

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

Leave a Reply

Your email address will not be published. Required fields are marked *


The reCAPTCHA verification period has expired. Please reload the page.