vaayaa Inclusive Education
Technical risk assessment

Software Quality Assurance and Test Automation Risk Assessment: Flaky Tests, Escaped Defects and Release Control

A worked example of how a software quality assurance and test automation team finds, scores and controls risks such as flaky tests, escaped defects, exposed test data and fragile pipelines, and how ratings change once controls are in place.

Updated November 2026 8 hazards assessed Review every 6 months Highest risk: High to Medium
See the Software Quality Assurance and Test Automation course

Executive summary

This assessment shows how a software team can find, rate and control the risks that threaten product quality and the trust placed in automated testing. Eight hazards were chosen because they are plausible in everyday quality assurance and test automation work. Flaky tests, escaped defects and fragile pipelines are the most likely, while exposed test data and waived release gates are less likely but cause serious harm. Each risk is scored before controls and again after existing and added controls. Most risks fall to Medium or Low once added controls are in place, but test data exposure stays at Medium because its impact remains serious. The first actions are a quarantine process for unstable tests, masked test data, a coverage review of high-risk modules and a documented release gate with named approvers. The team and data are teaching examples, so every score illustrates method rather than a real organization.

Focus area
Software quality assurance and test automation
Setting
Software development team delivering a web and mobile business application through an automated release pipeline
Method
Five by five likelihood and impact risk register

Scope

This assessment covers the quality assurance and test automation work of a software team, from test design and automated suites to continuous integration, test environments, release gates and defect reporting. It looks at risks to product quality, data, delivery timing, people and cost. It does not cover a specific product, employer, tool vendor or regulated medical, aviation or financial system. Technology stack, jurisdiction and team size are assumptions made for teaching.

Context

The team has test engineers and developers who write unit, integration and end to end tests. Automated suites run on every code change in a continuous integration pipeline, using a shared test environment and a cloud device service for browser and mobile checks. Test data is copied from a staging database. Releases pass through gates that check test results, open defects and a sign off from a quality lead. Each risk is scored before controls to show its natural level, then again after existing controls and the additional controls proposed here.

Objectives, assets and stakeholders

The objective is to release software that meets agreed quality standards on time, keep automated test results trustworthy, protect the data used in testing, and keep the confidence of users, product owners and auditors where evidence is required. The assets in scope are the source code, automated test suites, test environments, test data, the continuous integration pipeline, defect records and release evidence. Stakeholders include test engineers, developers, the product owner, operations staff, end users, customers whose data may appear in tests, and any regulator or auditor who asks for release records. Every risk has one owner role, and the quality lead reports the register to engineering leadership each month.

Risk matrix: before and after controls

Each cell shows hazard numbers placed by likelihood and impact. Compare the two grids to see how controls move each hazard.

Before controls

Inherent risk

Risk before controls: rows are likelihood from almost certain to rare, columns are impact from insignificant to catastrophic. Cells list hazard numbers.
1
Insignificant
2
Minor
3
Moderate
4
Major
5
Catastrophic
5 Almost certain
4 Likely Likelihood 4, impact 3, score 12, high: H01 H04 Likelihood 4, impact 4, score 16, high: H03
3 Possible Likelihood 3, impact 3, score 9, medium: H06 Likelihood 3, impact 4, score 12, high: H05 Likelihood 3, impact 5, score 15, high: H02
2 Unlikely Likelihood 2, impact 3, score 6, medium: H08 Likelihood 2, impact 5, score 10, high: H07
1 Rare

After controls

Residual risk

Risk after controls: rows are likelihood from almost certain to rare, columns are impact from insignificant to catastrophic. Cells list hazard numbers.
1
Insignificant
2
Minor
3
Moderate
4
Major
5
Catastrophic
5 Almost certain
4 Likely
3 Possible Likelihood 3, impact 2, score 6, medium: H04
2 Unlikely Likelihood 2, impact 2, score 4, low: H06 Likelihood 2, impact 3, score 6, medium: H01 H03 H05 Likelihood 2, impact 4, score 8, medium: H02
1 Rare Likelihood 1, impact 3, score 3, low: H08 Likelihood 1, impact 5, score 5, medium: H07
  • Low 1 to 4
  • Medium 5 to 9
  • High 10 to 16
  • Critical 17 to 25

Hazard register

A summary first, then the detail for each hazard.

Summary of hazards with scores before and after controls
No.HazardBeforeAfterOwner
H01 Flaky automated tests erode trust in results 12 High 6 Medium Test lead
H02 Test data exposes personal information 15 High 8 Medium Data protection lead
H03 Defects escape to production through incomplete coverage 16 High 6 Medium Quality lead
H04 Test automation decays after staff change 12 High 6 Medium Engineering manager
H05 Pipeline or test environment outage blocks release 12 High 6 Medium Operations lead
H06 Dependence on one testing service provider 9 Medium 4 Low Procurement lead
H07 Release gates waived under deadline pressure 10 High 5 Medium Quality lead
H08 Licence breach and cost leakage in tooling 6 Medium 3 Low Finance business partner
H01

Flaky automated tests erode trust in results

Operational Before 12 After 6

Automated tests fail or pass at random because of timing, shared state or unstable test environments, so teams ignore red builds and real defects are missed.

Who or what is affected: Test engineers, developers and release managers

Causes

Timing dependence, shared databases and tests that rely on each other's data.

Consequences

Real defects are dismissed, releases are delayed and confidence in automation falls.

Existing controls

  • Failed builds are rerun once before anyone investigates.
  • Test owners review failure reports each sprint.

Control gaps

Rerun results hide instability, and no one measures how often tests flip.

Additional controls

  • Prevent: Isolate shared state and replace fixed waits with explicit checks.
  • Detect: Track rerun counts per test and flag any test that flips without a code change.
Likelihood 4 x impact 3 before; 2 x 3 after Owner: Test lead Target: Within 30 days Early warning: Automated tests that fail intermittently without a code change in the same week.
H02

Test data exposes personal information

Technology and data Before 15 After 8

Copies of production records are loaded into test environments and shared with contractors, so customer personal details may be read, kept in logs or leaked outside the team.

Who or what is affected: Customers, test engineers and the data protection lead

Causes

Realistic data is requested for convenience, and copies are made outside the masking process.

Consequences

Privacy breach, legal notice, customer harm and damage to reputation.

Existing controls

  • Test environments sit behind the company network and require sign in.
  • Access to the staging database needs a named request.

Control gaps

Copies made by hand are not recorded or checked against a masking rule.

Additional controls

  • Prevent: Replace personal fields with synthetic values before any data is copied to test.
  • Detect: Scan test environments monthly for patterns that look like personal identifiers.
Likelihood 3 x impact 5 before; 2 x 4 after Owner: Data protection lead Target: Within 30 days Early warning: A copy of production data found in a test environment during the monthly scan.
H03

Defects escape to production through incomplete coverage

Operational Before 16 After 6

Tests focus on easy paths and miss edge cases, integration points and recent changes, so defects reach users and cause failures, rework and emergency fixes.

Who or what is affected: End users, support staff and the product owner

Causes

Time pressure, unclear requirements and coverage measured only by line count.

Consequences

Customer complaints, emergency releases and lost trust in the product.

Existing controls

  • Unit tests run on every change.
  • Testers run exploratory sessions before major releases.

Control gaps

Coverage is not linked to risk, and escaped defects are not reviewed for patterns.

Additional controls

  • Prevent: Map high-risk modules and require new tests for every defect fixed in them.
  • Respond: Hold a short review of each escaped defect and add a regression test.
Likelihood 4 x impact 4 before; 2 x 3 after Owner: Quality lead Target: Within 60 days Early warning: Defects reported by users in the first week after release above the agreed limit.
H04

Test automation decays after staff change

People Before 12 After 6

Scripts and pipeline settings are written by one engineer who leaves or moves on, and no one else understands them, so suites decay and nobody can fix a failure quickly.

Who or what is affected: Remaining team members and future hires

Causes

Single points of knowledge, fast hiring and no written handover.

Consequences

Broken suites, slow fixes, hidden gaps in coverage and repeated mistakes.

Existing controls

  • Code review applies to test code as well as product code.
  • A team wiki holds a short guide to the main suites.

Control gaps

Ownership is assumed rather than recorded, and wiki guides go out of date.

Additional controls

  • Prevent: Require two named maintainers for every suite and a handover note on each change of owner.
  • Recover: Run a knowledge session on any suite no one has changed for three months.
Likelihood 4 x impact 3 before; 3 x 2 after Owner: Engineering manager Target: Within 45 days Early warning: A test suite with no commit from a named maintainer in the last ninety days.
H05

Pipeline or test environment outage blocks release

Operational Before 12 After 6

The continuous integration service, runners or test environment fail or slow down, so builds stop, releases are delayed and manual checks are rushed.

Who or what is affected: Developers, operations staff and release managers

Causes

A single runner, quota limits, unmanaged updates and load spikes near release.

Consequences

Delayed releases, rushed manual testing and missed deadlines.

Existing controls

  • Pipeline status is shown on a team dashboard.
  • The environment is rebuilt from scripts when it fails.

Control gaps

No second runner exists, and restore time has never been measured.

Additional controls

  • Respond: Keep a documented manual fallback for the most critical checks during an outage.
  • Recover: Run a restore drill for the test environment each quarter and record the time taken.
Likelihood 3 x impact 4 before; 2 x 3 after Owner: Operations lead Target: Within 60 days Early warning: Pipeline runs that fail or stall for more than 30 minutes in a week.
H06

Dependence on one testing service provider

Supplier Before 9 After 4

The team relies on one cloud device service or commercial testing tool, so a price rise, outage or contract end stops browser and mobile checks and makes migration slow.

Who or what is affected: Test engineers, finance staff and product owners

Causes

Vendor lock in, provider specific scripts and a limited budget for alternatives.

Consequences

Blocked testing, higher cost and a forced, rushed migration.

Existing controls

  • The contract names a service level for availability.
  • Usage is reviewed each quarter against the budget.

Control gaps

No tested exit plan exists and scripts depend on one vendor's features.

Additional controls

  • Prevent: Keep test scripts in an open format that can run on a second provider.
  • Detect: Track provider incidents and price changes against the contract terms each month.
Likelihood 3 x impact 3 before; 2 x 2 after Owner: Procurement lead Target: Within 90 days Early warning: A provider incident or price notice that affects more than one test device pool.
H07

Release gates waived under deadline pressure

Legal and compliance Before 10 After 5

Releases go out with failing tests, open defects or no sign off, because a deadline is close and waivers are agreed informally, leaving no record of who accepted the risk.

Who or what is affected: Customers, release managers and auditors who ask for release evidence

Causes

Deadline pressure, unclear approval rights and gates that the team sees as slow.

Consequences

Undetected defects, missing evidence for audit and loss of customer trust.

Existing controls

  • A release checklist must be completed before deployment.
  • The quality lead signs off major releases.

Control gaps

Waivers are agreed in chat and never written down.

Additional controls

  • Prevent: Require a logged waiver with reason, risk owner and expiry for any gate that is skipped.
  • Respond: Review every waived release within one week and record the outcome.
Likelihood 2 x impact 5 before; 1 x 5 after Owner: Quality lead Target: Within 30 days Early warning: Release waivers approved without a logged reason or second approver.
H08

Licence breach and cost leakage in tooling

Financial Before 6 After 3

Test tools, libraries and device licences are added or shared beyond their terms, and unused seats or parallel runs raise costs, so the team faces back charges and budget overruns.

Who or what is affected: Finance staff, legal advisers and engineering managers

Causes

Free tools added without review, parallel test runs and unused seats.

Consequences

Back charges, a legal dispute and unexpected spending.

Existing controls

  • Licences are bought through the central purchasing route.
  • Seat counts are reviewed when staff leave.

Control gaps

Licence terms of open source libraries are not recorded anywhere.

Additional controls

  • Prevent: Approve any new test library or tool through a short licence check first.
  • Detect: Compare licence terms and seat counts against actual use each quarter.
Likelihood 2 x impact 3 before; 1 x 3 after Owner: Finance business partner Target: Within 90 days Early warning: A new tool or library appears in the pipeline without a recorded licence check.

Rating method and evaluation

Each risk is rated on two five-point scales. Likelihood runs from Rare to Almost certain, and impact runs from Insignificant to Catastrophic. Multiplying the two gives a score from 1 to 25, which falls into one of four bands: Low from 1 to 4, Medium from 5 to 9, High from 10 to 16 and Critical from 17 to 25. The score is a guide for ordering work, not a precise measurement. Inherent risk is the score before any controls, such as the situation if no tests were trusted and no gates existed. Residual risk is the score after the existing and added controls have been applied and checked. Impact is judged on defects reaching users, data exposure, delivery delay, rework cost and loss of trust in test results, and a risk is never rated down only because it has not yet happened. Anything still High needs senior attention and a dated plan, anything Medium needs routine controls with a named owner, and anything Low is accepted and watched. Engineers who run the tests should challenge each rating, and ratings are reviewed whenever an early warning indicator reaches its threshold or a release fails.

Likelihood, impact and rating bands

Likelihood

  • 5 Almost certain: Expected to happen in most circumstances.
  • 4 Likely: Will probably happen in many circumstances.
  • 3 Possible: Could happen at some time.
  • 2 Unlikely: Not expected, but it could happen.
  • 1 Rare: Only in exceptional circumstances.

Impact

  • 1 Insignificant: No lasting effect. Handled within routine work.
  • 2 Minor: Small effect that is quickly corrected.
  • 3 Moderate: Noticeable effect that needs managed effort to correct.
  • 4 Major: Serious effect on people, delivery or reputation.
  • 5 Catastrophic: Severe or lasting effect that threatens the whole activity.

Bands (likelihood x impact)

  • Low (1 to 4): Accept and monitor.
  • Medium (5 to 9): Manage with routine controls.
  • High (10 to 16): Senior attention and a treatment plan.
  • Critical (17 to 25): Act first. Do not proceed until reduced.

Monitoring, escalation and review

Review this assessment every 6 months, and sooner when an indicator below reaches its threshold.

Early-warning indicators and escalation thresholds
Indicator to watchEscalate when
Automated tests that fail intermittently without a code change in the same week.Escalate to the test lead when more than five percent of a suite fails this way, and quarantine the suite until the cause is found.
Defects found by users in the first week after release compared with the agreed limit.Escalate to the quality lead when the count exceeds the limit, and to the product owner if it repeats in two releases.
Copies of production data found in test environments during the monthly scan.Escalate to the data protection lead at once, and suspend the environment until the copy is removed and recorded.
Pipeline runs that fail or stall for more than 30 minutes in a week.Escalate to the operations lead when the count rises, and to the engineering manager if a release is delayed more than two days.
Release waivers approved without a logged reason or second approver.Escalate to the quality lead within one working day, and report the waiver to the engineering manager at the monthly review.

Contingency arrangements

If a serious event occurs, such as a defect that reaches customers, exposure of real personal data in a test environment or a pipeline failure that stops all releases, the release owner pauses deployments and preserves logs and test results. The operations lead restores the environment from a clean image, and the data protection lead checks whether any personal data was copied or accessed. Affected customers and the product owner are informed early and plainly, and legal or privacy contacts are engaged as required in the relevant jurisdiction. Any hotfix follows a short, reviewed path with extra regression checks.

Prioritized action plan

  1. Quarantine unstable automated tests and assign each suite a named owner, owner test lead, within 30 days.
  2. Mask or synthesize all personal data used in test environments, owner data protection lead, within 30 days.
  3. Document a release gate with named approvers and a logged record of every waiver, owner quality lead, within 45 days.
  4. Add a second pipeline runner and a recovery drill for the test environment, owner operations lead, within 60 days.
  5. Review coverage of high-risk modules against defect history, owner senior developer, within 90 days.

Conclusion

Trustworthy quality assurance rests on a few steady habits: stable and owned tests, masked test data, clear release gates, tested recovery of pipelines and a written record of every waiver. The highest scores sit with escaped defects, flaky tests and fragile pipelines, and each has actions that bring the residual score down. Treat the register as a living record, review it on the stated cycle, and seek qualified advice for any regulated release or data protection question.

Assumptions and limitations

Assumptions

  • The application is a web and mobile product built with a mainstream language and a commercial or open source test framework.
  • The team releases on a regular cycle and uses a version control system with a shared pipeline.
  • Jurisdiction and data protection rules are not specified, so legal duties are described in general terms only.

Limitations

  • The scores are examples for learning and do not describe any real product, team or pipeline.
  • Testing practice, data protection and release rules differ by sector and country, so specialist review is needed for any regulated system.
  • This is educational content and does not replace a formal site-specific assessment or licensed professional advice.

Related frameworks to study

  • Test pyramid for balancing unit, integration and end to end tests
  • Risk register with likelihood and impact scoring
  • Three lines model of risk ownership
  • Hierarchy of controls
  • Change control with documented release approval

Technical Risk Assessment

China, India, United States, Indonesia, Pakistan, Nigeria, Brazil, Bangladesh, Russia, Japan, Mexico, Philippines, Vietnam, Egypt, Turkey, Germany, United Kingdom, France, Italy, Canada, South Korea, Australia, Spain.

For Learning Reference Only: This assessment demonstrates how risk assessment principles are applied in a practical setting, providing a useful reference for learning and understanding. Actual assessments may be adapted to suit specific site conditions and circumstances.

Keep learning

Study the subject behind this assessment.

More Technical risk assessments

Hourly Active: 35,186 Learners