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

QuestionsCategory: CRT-450Which two statements are true about using the @testSetup annotation in an Apex test class? (Choose two.)
Admin Staff asked 4 months ago
Which two statements are true about using the @testSetup annotation in an Apex test class? (Choose two.)

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

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

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

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








 

Suggested Answer: AD

Community Answer: AD



This question is in CRT-450 Salesforce Certified Platform Developer I Exam
For getting Salesforce Certified Platform Developer I











Disclaimers:
The website is not related to, affiliated with, endorsed or authorized by Salesforce. 
Trademarks, certification & product names are used for reference only and belong to Salesforce.
The website does not contain actual questions and answers from Salesforce's Certification Exams.

Next Post

Recommended

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.