QuestionQ14

VerifiedTest Automation Tools

Which two methods are recommended for creating test data in Salesforce?

Choose two
Explanation

Salesforce unit tests should use controlled, isolated data rather than depend on live middleware or external services. A mock endpoint supplies predictable sample responses, and a CSV uploaded as a static resource can be loaded into a test class as repeatable fixture data (for example, with Test.loadData).

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!