rover

Salesforce Shots: Test Data Factory in Salesforce

TestDataFactory/TestUtility is a container that is an org-wide special apex test class & excluded from the organization code size limit. In addition, it’s annotated with @isTest. Use case: In test classes, we used to create multiple test data records (Account, Contact, Opportunity, etc) for the testing apex class. In this scenario, we can use the …