Safety tiers and transaction modes

What each tier allows, how transaction modes work and what is never allowed.

In short

Before a connection opens, the server checks every run against the environment's tier, not what the test asks for. Production allows only read-only, rolled-back runs. A refused run is recorded as Refused by policy, and nothing reaches the database.

Before you start

Set an environment's safety

  1. Open "Connections" and edit the environment.
  2. Set its "Tier" to what the database really is: Local, Development, QA, Custom, Preprod, Staging or Production.
  3. Tick "Read-only" to force every run to roll back without the other Production rules.
  4. Press "Save". Every test run there follows the tier's rules from now on.

Tiers

Transaction modes

Commit is permanent There is no undo. Use setup and teardown SQL for normal tests and let the rollback clean up.

Good to know

If something goes wrong

Related