Environments and qualification¶
An environment is a place where tests run, such as Test or Production. Each project defines its own on its Environments tab, so a change request can qualify a new site without touching earlier projects. Copying a project copies its environments.
Define environments¶
On the project's Environments tab, authors add each environment with a name, a type (Test or Production) and an optional description (the site, URL, version or configuration under test). Changes are recorded in the audit trail with a reason.
- An environment's name appears in the Test Protocol, so it can't be renamed while an approved Test Protocol names it: revise the protocol first. The type can change at any time.
- An environment can be deleted only while no test case, execution or test incident uses it.
Which tests run where¶
A test case lists the environments it must pass in. The traceability matrix counts it once per environment, by its latest execution there. The Test Protocol can be filtered by environment and by stage (IQ, OQ, CS, PQ).
Installation qualification usually runs in every environment: give an IQ test both environments, or keep a separate test for each.
Variants for another environment¶
When a check differs between environments (another URL, other accounts, a production-only step), keep one test case per environment. Open the test case with its Edit icon and, under Duplicate for another environment, pick the environment, change the copy's title if you like and choose Duplicate: the copy, for example IQ-001-PROD, gets the same requirements and steps, is assigned to that environment and is marked as a variant of the original. Then edit its steps. Each variant is executed and signed on its own. When a change request is copied, a test's variants come with it.
Stage gate¶
In each environment, tests run in stage order: IQ → OQ → CS → PQ. A test can't be executed in an environment until every test of an earlier stage assigned to that environment has passed there (its latest approved execution), or has a closed test incident covering the failure or the missing run. Tests that name no environment are held the same way by the earlier-stage tests that name none.
A stage with no tests holds nothing back, and a project uses only the stages chosen under Edit project (see Stages). Together with the production gate below, the full order is IQ → OQ → CS → PQ in the test environments, then IQ → OQ → CS → PQ in production.
The execute page lists the tests holding a stage up.
Production gate¶
A project's tests in a production environment can't be executed until its test environments are done. Every test assigned to a test environment must have passed there (its latest execution), or have a closed test incident covering the failure or the missing run.
Until then, recording an execution in production is refused. The execute page lists the tests holding it up. Recording runs in the test environment is never blocked.