QA calculators

How much engineering time does a flaky test consume?

An intermittently failing test can be cheap per retry yet expensive when it runs on every pull request. Even a short interruption can repeatedly pull the same engineer out of a release review.

Which flaky tests cost enough in retries and triage to repair first?

Estimate how much review time goes into non-actionable failures. Rank repair candidates by hours spent investigating them and the business risk of leaving the area unreliable.

Estimate the weekly cost of a flaky test

Use first-attempt runs for one test. Count only flaky episodes that consume triage time.

Planning assumptions
Expected episodes per week
6
Staff triage per week
72 min
Retry compute per week
24 runner-min

Assumes one retry and one triage investigation per flaky episode. Shared incidents and repeated retries can change the totals.

Calculation method

Expected episodes = first attempts × flaky percentage ÷ 100. Multiply episodes by triage minutes for staff time and by retry minutes for runner time.

Inputs to collect

Use one consistent observation window for the inputs below. Replace the calculator’s illustrative defaults with measurements from your own software and runners.

Inputs behind the calculation
InputWhere to get it
RunsCount executions over a representative period.
Intermittent failure rateUse outcomes that required extra investigation.
Triage timeUse hands-on minutes for each recurrence.

Interpreting your result

Verify a sample of failures before assigning a cost. A genuine customer-facing defect deserves investigation even when reproducing it is expensive.

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.