Jasiri Limited's 4-Stage Approach to Regression Testing in Agile Sprints

Image Source: depositphotos.com

A trapeze artist does not perform the difficult part of the act without a net strung underneath.

The net does not make the trick any easier. It makes attempting it survivable, which is the only reason anyone dares to let go of the bar.

Jasiri Limited thinks about regression testing in much the same way. In a fast sprint, the temptation is to move quickly and assume nothing already working will break. The testing is the net that makes moving quickly survivable, and the company builds its approach by starting from the outcome and working backward.

So rather than describe the stages in the order they happen, it helps to begin with the goal. Then reverse-engineer the path that reaches it.

Start From the Goal: A Sprint That Ships No Regressions

The desired end state is easy to state and hard to achieve. A sprint that delivers new features without quietly breaking anything that already worked.

Everything in the approach exists to serve that one outcome.

Reaching it reliably is rarer than teams like to admit. According to the World Quality Report, average test automation coverage sits at just 33%, with nearly half of organizations still in the planning stage.

That is the way Jasiri Limited interprets that number, and the number is why so many teams send out older bugs all over again. There are holes in the safety net. And that’s precisely where those bugs get back into the system. Starting from scratch in a sprint, one can close the holes properly.

Working Backward, Stage 4: The Release Gate

If the goal is a clean release, the last thing standing between the code and production is the release gate. So that is where the reverse walk begins.

This is the final check that confirms the build is safe to ship.

The gate is deliberately strict, as noted by Jasiri Limited. A release does not pass until the suite is green and any failures are explained rather than ignored.

Putting this stage first, when reasoning backward, has a purpose. It defines what every earlier stage has to deliver. If the gate demands a passing suite, then a passing suite has to exist, which points straight at the stage before it.

Stage 3: The Automated Suite Running Through the Sprint

For the gate to mean anything, there has to be a suite that actually runs. And runs often.

This is the stage that does the heavy lifting during the sprint itself.

What the suite covers

Jasiri keeps it automated and running continuously, rather than saved for the end, because a break caught on the day it is introduced is cheap while one caught a week later is expensive. The suite tends to cover:

  • The core paths that would cause the most damage if they broke.
  • Every area touched by a bug that was fixed before, so old failures cannot silently return.
  • The integrations between components, where these problems love to hide.

Running it continuously is what turns the release gate from a bottleneck into a formality. Most problems are already caught long before the gate is reached.

Why continuous beats end-of-sprint

The timing is the whole trick. Jasiri Limited points out that a break found on the day it is introduced is usually a five-minute fix, since the change is still fresh in the author's mind. The same break found a week later is an investigation. Continuous running keeps the cost of every failure on the cheap side of that line.

Stage 2: Risk-Based Test Selection at Planning

A suite cannot check everything on every run without slowing the sprint to a crawl. So the stage before it decides what actually needs testing. This happens at planning, not mid-sprint.

The Jasiri team maps each planned change to the areas it might affect, and prioritizes coverage accordingly.

  • High-risk changes to critical paths get thorough testing.
  • Low-risk, isolated changes get lighter treatment.

This risk-based selection is what keeps the suite fast enough to run continuously, without leaving the dangerous areas exposed.

Stage 1: A Stable Baseline Before the Sprint Begins

Working all the way back, none of the later stages hold if the starting point is already shaky.

This is the first step, the basis of all subsequent steps, which is a reliable baseline prior to the start of the sprint.

This implies that the code comes in with a successful test suite and an established definition of what working looks like. This is important because without it, it would not be possible to distinguish a new problem from an existing one, thereby negating the entire concept of a net. At Jasiri Limited, a clean baseline is mandatory.

A Common Trap: Testing Everything, or Testing Nothing

Teams tend to fall off the path in one of two opposite directions. Both undo the benefit the sequence is meant to provide.

Jasiri Limited sees each often enough to treat them as the main risks.

The first trap is testing everything on every run. It feels safe. But a suite that takes hours gets run less and less, until it is effectively reserved for the end and stops catching problems early.

The second trap is the reverse, according to Jasiri Limited. Trusting a thin set of checks that never really exercise the risky areas, so the suite stays green while real defects walk straight past it.

The way through sits between the two:

  • Let risk decide depth, so the dangerous areas get thorough coverage and the trivial ones stay light.
  • Keep the run fast enough that it can happen continuously without anyone dreading it.
  • Treat a green result as meaningful only when the coverage behind it was chosen deliberately.

The Jasiri team frames this balance as the difference between a net that is actually strung and one that only looks like it is. A net full of holes offers the same false comfort as no net at all.

Reassembling the Stages in Forward Order — Insights by Jasiri Limited

Laid out as a table, the four stages line up like this:

Stage

When it happens

What it checks

Exit condition

1. Baseline

Before the sprint

The codebase enters in a known-good state

A passing suite and a clear record of "working"

2. Selection

At planning

Which areas each change could affect

Coverage mapped to risk

3. Continuous suite

During the sprint

Core paths, past bugs, integrations

Runs green as work proceeds

4. Release gate

Before shipping

Whether the whole build is safe

Suite green, any failures explained

Having reasoned backward, the approach is easy to state going forward:

  1. Begin each sprint from a verified, stable baseline.
  2. Select coverage by risk during planning.
  3. Run the automated suite continuously throughout the sprint.
  4. Enforce a release gate that only passes on a green suite.

Read in order, the stages form a chain where each one makes the next possible.

Without the base, the selection lacks any firm foundation to stand on. Without the selection, the suite either drags behind or fails. Without the continuous sequence, the gates become a frantic last-minute effort.

The principle behind Jasiri Limited's testing process revolves around a single belief. Speed and safety are not mutually exclusive in a sprint if the net is ready for everyone who wants to release the bar. For the Jasiri Limited team, the net serves as the key component behind enabling people to run quickly without faltering, and each phase of creating the net is worth defending despite the ticking clock.