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
7 months agoTracie
7 months agoVerlene
7 months agoBettina
8 months agoElke
8 months agoAilene
8 months agoBrittni
8 months agoGladys
8 months agoNina
8 months agoSonia
8 months agoJennie
8 months agoKarrie
8 months agoMariann
8 months ago