14.40Environment-safe testing
Never let automation accidentally hit:
Production Salesforce
because someone misconfigured:
BASE_URL
Safeguards:
explicit environment check
allowlisted Salesforce org ID
test-data prefix requirement
production credentials unavailable to QA CI
fail test setup if target environment doesn't identify as QA
This is worth engineering deliberately.