Valid CRT-450 Dumps shared by ExamDiscuss.com for Helping Passing CRT-450 Exam! ExamDiscuss.com now offer the newest CRT-450 exam dumps, the ExamDiscuss.com CRT-450 exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com CRT-450 dumps with Test Engine here:
A developer created a trigger on the Account object and wants to test if the trigger is properly bulkified. 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
Correct Answer: C,D
Why Use Static Resources andTest.loadData? C: Static resources allow you to define reusable test data (e.g., in a CSV file). D:Test.loadDatasimplifies loading bulk test data into test classes from static resources. Why Not Other Options? A: Using@isTest(seeAllData=true)violates test isolation principles and is discouraged. B:@isTest(isParallel=true)is used for parallel execution, not for creating test data. References:Test.loadData:https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode /apex_testing_tools_load_data.htm