Pre-Summer Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: validbest

Exam PDI All Questions
Exam PDI All Questions

View all questions & answers for the PDI exam

Salesforce Developers PDI Question # 55 Topic 6 Discussion

PDI Exam Topic 6 Question 55 Discussion:
Question #: 55
Topic #: 6

Which two statements are true about using the @testSetup annotation in an Apex test class?

Choose 2 answers


A.

Records created in the test setup method cannot be updated in individual test methods.


B.

In a test setup method, test data is inserted once and made available for all test methods In the test class.


C.

A method defined with the @testSetup annotation executes once for each test method in the test class and counts towards system limits.


D.

The @testSetup annotation is not supported when the @isTest(SeeAllData=True) annotation is used .


Get Premium PDI Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.