Skip to main content

Run Smart Regression

In brief: Smart regression selects impacted and related SmartTests, runs them, and helps fix failures for a change set.

When to use

After code or test changes when you want targeted execution (not the whole suite), or as Phase 5 inside Run QA. For a known failing execution id, prefer Fix test execution.

Prompt

/testchimp run smart regression
/testchimp run smart regression for checkout
/testchimp run smart regression plans/stories/billing

Scope

Optional. Feature branch → tests impacted by the PR diff (and semantically related tests). Default branch → since last run or a history range. Or name an area / plans path.

Policy

Optional policy can encode selection heuristics, flake rules, and validation requirements.

Prerequisites

Depends on connect-to-test-env.

What it does

Identifies affected/related SmartTests, executes them (with reporter + runtime), and helps repair failures while respecting policy and reporting agent actions.

See also