Salesforce
CRT-450 · Question #148
CRT-450 Question #148: Real Exam Question with Answer & Explanation
Sign in or unlock CRT-450 to reveal the answer and full explanation for question #148. The question stem and answer options stay visible for context.
Question
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?
Options
- A@BeforeTest
- B@isTest(SeeAllData=True)
- C@TestSetup
- D@PreTest
Unlock CRT-450 to see the answer
You've previewed enough free CRT-450 questions. Unlock CRT-450 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.