All projects

Risk-based test design with agents

Compared a standard test set against agent-assisted, risk-based test design on the same feature, then turned the results into a quality-engineering offering.

Result
9 of 9
injected bugs caught, against 1 of 9 for the standard set
Role
Ran the proof of concept and wrote the offering
Domain
Internal R&D and client pitch
Period
Sep 2025 – Oct 2026

Problem

Teams generate tests with AI, but more tests isn't the same as better coverage. I wanted evidence for whether structured, risk-based agent workflows actually find more defects.

Approach

A controlled comparison on one login feature: a conventional test set against a risk-register-driven design produced with agent workflows, both run against a build with nine injected real-world bugs.

What I built

  • A risk register, a traceability matrix and gate decisions, all generated through the spec-driven agent workflow.
  • 39 scenarios across UI, API and contract levels, running on three browsers.

Outcome

  • 39 scenarios caught 9 of 9 injected bugs; the conventional four tests caught 1.
  • 16 scenarios covered behavior the acceptance criteria never mentioned.
  • Found an account-enumeration flaw in the spec before any code existed.
  • 135 of 135 green on a 5x burn-in, with no flaky tests.

Capabilities

Stack

  • BMAD
  • Test Architect agents
  • Playwright
  • Express
  • Pact

Skills shown

  • Risk-based test strategy
  • Spec-driven development
  • Playwright
  • Multi-agent orchestration

From the log

  • 8 Oct 2026
    Pitched an agentic quality-intelligence offeringPackages agent-driven test design, AI-generated tests and coverage data into something a client can buy, backed by measured results rather than claims about AI.
  • 2 Mar 2026
    Began adapting an agentic test-architecture framework for an enterprisePuts structure around AI-generated tests (risk registers, traceability, quality gates), so agents produce tests that matter rather than just more tests.
  • 9 Feb 2026
    Caught 9 of 9 injected bugs with risk-based test designHard evidence that how agents are directed matters more than how many tests they write.
  • 22 Sep 2025
    Set up the risk-based test design studyTreats an AI workflow as a hypothesis to test, with seeded bugs and a control group, rather than a claim to believe.

Everything on this site in one file. Copy it and paste it into your agent.

Loading…