11 / 18 · Module 14 — External Automated Testing of Mule Integrations · filtered: cheatsheet← prev⊞ allnext →
14.11Cleanup
Your tests create real Salesforce data.
You need a policy.
Options:
delete after test
mark records as automation data
periodic cleanup job
dedicated Salesforce sandbox refreshed periodically
A useful convention:
External ID:
AUTOTEST-...
Test_Data__c:
true
if the Salesforce schema permits it.
Then cleanup can safely find automation records.