DocumentationParallel ExecutionMulti-environment runs

Multi-environment runs

7 min readLast updated 2026-04-18

Run the same suite against staging, production, and preview deployments in a single pipeline.

Multi-environment runs let you validate changes across staging, production, and feature-branch previews without duplicating test code.

Defining environments

// checkstudio.config.js
module.exports = {
  environments: [
    { name: 'staging', baseURL: 'https://staging.example.com' },
    { name: 'production', baseURL: 'https://example.com' },
  ],
};
javascript

Running against all environments

checkstudio run --env=staging,production
bash

Environment-specific overrides

Use test.describe.configure({ environment: "staging" }) to skip tests that only apply to specific environments.

Was this article helpful?

Still have questions?

Our support team is here to help. Reach out directly or search the docs.