SOLUTIONS · REGRESSION

Catch the break before the deploy.

Regression testing is a memory problem: the path worked yesterday, and nothing in the diff looks related. Jetic keeps the journeys as files, runs them the same way every time, and shows exactly which step changed.

RepeatableDiffableCI-readyStep traces
before / after
baseline 4f2c1a ✔ 5 passed 390ms
change orders.ts · discount guard
run 9b81de ✘ step 4 failed
expected 201 Created
actual 409 Conflict
source src/routes/orders.ts:88
trace kept · failure reproduced
Same workflow, same order, different result

WHY JOURNEYS REGRESS

The diff is small. The path is not.

Single endpoints rarely break alone. A guard, a token, or a new required field changes the sequence.

01Contract

New required field

A step that passed now returns 422 before the next call.

02Auth

Auth change

The token shape or scope shifts, and later calls lose access.

03State

Order dependency

A side effect that used to happen earlier now happens later.

04HTTP

Status drift

The endpoint returns a different success code than the client expects.

05Shape

Schema drift

A renamed response field breaks the capture that fed the next step.

06Env

Environment drift

A missing secret or seed record breaks the same workflow in CI.

THE BASELINE

A workflow is a baseline you can read.

Instead of a wall of scripts, the regression suite is a set of small ordered files. Review the diff, run the file, and compare the trace.

  • The sequence is explicit and versioned
  • Expected status is visible next to each step
  • Captured values show what the run depended on
  • A failure links back to the endpoint source
regression.yml
on: pull_request
steps:
- run: jetic scan
- run: jetic simulate workflow checkout
- run: jetic simulate workflow onboarding
✔ upload .jetic/runs on failure

A WORKING LOOP

Small suite, high signal.

01

Cover

Pick the journeys that would hurt if they broke.

3–7 flows
02

Baseline

Get them green and commit the workflows.

.jetic/
03

Run

Execute on every change to the API.

CI job
04

Triage

Open the trace, fix the source, rerun.

runId

SIGNAL QUALITY

Keep the suite worth running.

Deterministic
The same workflow file and environment should produce the same result. Flakiness is a bug to investigate, not retry away.
Isolated
Run against disposable data. Reusing a shared account makes failures ambiguous.
Owned
A failing regression should have a clear owner in the code, not just in the test suite.
Fast enough
A handful of critical journeys beats a huge suite nobody waits for.

NEXT

Regression is a habit, not a tool.

REGRESSION FAQ

Frequently asked questions

How many workflows should we start with?

Three to seven critical journeys. Add one when a real regression escapes.

Do workflows need maintenance?

Yes. When the API changes, rescan the model and update the affected steps. The diff makes the change visible.

Can a regression run create data?

Yes. Prefer a disposable environment or add cleanup steps to the end of the workflow.

What if a test is flaky?

Retries exist, but they hide the problem. Treat repeated flakiness as a real investigation item.

Remember the path. Run it every time.

Keep the critical journeys in the repository and let the trace tell you what changed.

Start a regression suite