PrepAway - Latest Free Exam Questions & Answers

Good Apex tests should….

Good Apex tests should….

PrepAway - Latest Free Exam Questions & Answers

A.
Exercise bulk trigger functionality—use at least 20 records in your tests.

B.
Only test code using the Standard User profile.

C.
Access live organization data to validate SOQL queries and DML operations.

D.
Use the isTest annotation. Classes defined with the isTest annotation do not count against your
organization limit of 3 MB for all Apex code. See IsTest Annotation.

E.
Use the runAs method to test your application in different user contexts.

F.
None of these

One Comment on “Good Apex tests should….


Leave a Reply