Salesforce DEX-450 Exam - Topic 6 Question 21 Discussion
A developer needs to have records with specific field values in order to test a new Apex class. What should the developer do to ensure the data is available to the test?
C) Use Test.loadData() and reference a static resource.
A) Use Test.loadData() and reference a CSV file.
B) Use SOQL to query the org for the required data.
D) Use Anonymous Apex to create the required data.
Justine
10 months agoTracie
10 months agoVerlene
10 months agoBettina
11 months agoElke
11 months agoAilene
11 months agoBrittni
11 months agoGladys
11 months agoNina
11 months agoSonia
11 months agoJennie
11 months agoKarrie
11 months agoMariann
11 months ago