Testing guides

Test impact analysis for selecting regression checks

A shared currency formatter changes.

Which tests should we rerun when a shared component changes?

Start with the behaviour a change can affect, then follow dependencies into the checks that would notice a regression. Keep a full reference run so a fast selection policy can be challenged.

Work through the decision

Its unit tests cover display precision. The invoice PDF and the account export consume the same formatter through different paths. Only running tests in the edited folder misses both consumers.

Steps and evidence for the reviewer
StepEvidence to keep
Map callersInclude exports and background consumers as well as imports.
Select checksChoose a decimal-boundary test, a PDF assertion and an export fixture.
Verify recallRun a broader suite on the same revision and investigate any omitted failure.

What changes the decision

Treat changed lines as a starting point. If the dependency map is stale or the change alters shared state, expand the selection before accepting the faster result.

Primary documentation

Your next release starts here

Keep building.
Put testing to work.

Give Cue April your next testing challenge. Let your AI quality lead coordinate the checks, so your team can focus on what comes next.

Create account

Create your account, connect a repository and review your proposed setup before approving a run.