What two things should be done to create the test data within the unit test with the least amount of code?

A developer created a trigger on the Account object and wants to test if the trigger is properly bulklfield. The developer team decided that the trigger should be tested with 200 account records with unique names.

What two things should be done to create the test data within the unit test with the least amount of code? Choose 2 answers
A . Use the @isTest(isParallel=true) annotation in the test class.
B . Use Test.loadData to populate data in your test methods.
C . Use the @isTest(seeAllData=true) annotation in the test class.
D . Create a static resource containing test data.

Answer: B,D

Latest PDI Dumps Valid Version with 191 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments