Skip to content

Environments used for testing

Editor
Engineering leadership

QA, engineering, and DevOps.

When you decide where a test runs.

  • Must: Name the environment you tested in on the ticket. “It works on my machine” is not enough for ship.
  • Must: Do not use production as the first place you test a change, unless the ticket is a production-only check with a rollback plan.
  • Must: Client data in non-prod follows the same care as prod. See Client and customer data.
  • Should: Automated tests run in CI. Human checks run in a shared non-prod environment that matches prod closely enough to catch config mistakes.
  • Team decides: Environment names (local, staging, prod) and who can deploy to each. Platform detail lives in Environments.

A reviewer can tell where the change was proven. Staging surprises are rarer than production surprises.

  1. Run automated tests locally and in CI.
  2. Run acceptance lines in the agreed shared environment.
  3. Write the environment name on the ticket.
  4. Only then go to Release readiness.