Environment Variable Substitution vs Mock Service Stubs for Credential‑Free Integration Testing
Goal Validate an API integration that consumes JSON configuration files without exposing production credentials. Constraint The test environment must keep the original JSON schema intact while ensuring that any secret tokens or connection strings are never sent to a live service. Two documented mechanisms exist: Injecting placeholder values via environment v