Valid PDII Dumps shared by ExamDiscuss.com for Helping Passing PDII Exam! ExamDiscuss.com now offer the newest PDII exam dumps, the ExamDiscuss.com PDII exam questions have been updated and answers have been corrected get the newest ExamDiscuss.com PDII dumps with Test Engine here:
A developer notices the execution of all the test methods in a class takes a long time to run, due to the initial setup of all the test data that is needed to perform the tests. What should the developer do to speed up test execution?
Correct Answer: A
Using the @testSetup annotation to define a method that creates test data before the tests run can significantly speed up test execution by reducing the setup time for each test method in the class. This method runs once before any test method in the class and can be used by all test methods.References: Apex Developer Guide - Reducing Test Data Creation