Which approach should be used to provide test data for a test class?
Which approach should be used to provide test data for a test class?
A . Query for existing records in the database.
B . Execute anonymous code blocks that create data.
C . Use a test data factory class to create test data.
D . Access data in @TestVisible class variables.
Answer: C
Latest CRT-450 Practice Questions with 372 Q&As
Updated Study Material | Instant Download | Detailed Answers and Explanations
Subscribe
Login
0 Comments