QuestionQ103

VerifiedTesting

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

Choose two
Explanation

Controlled static CSV resources can supply repeatable records to Apex tests through Test.loadData. Endpoint-dependent code should use mock responses so tests remain isolated and deterministic rather than depending on a live middleware or external integration.

Learn more

Community Discussion

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