Salesforce Decode
Salesforcedecode
DevOps & Testing questionsQuestion 24 of 100
DevOps & TestingIntermediateConceptualtestingtest-data-factory

What is a test data factory and why use one?

Scenario

Every test class creates Accounts differently and breaks when a new required field is added.

Answer it out loud first

Serious prep means attempting before reading. Take two minutes to structure your answer, then compare.