AI Testing Agent by Suyash Joshi
Get this E-Book
The Book What You'll Learn Architecture Experiments About FAQ Get this E-Book
A Practitioner's Experiment in Agentic Software Testing

I Built an AI Software Testing Agent.

I wanted to know what AI could actually do in software testing — so I built the system, ran the experiments, investigated the failures, and documented what I learned.

Get this E-Book See What's Inside
By Suyash Joshi · 2026 · 85 pages · 40 chapters
{{ node.label }}

{{ item.text }}

Not another AI hype book.

This book will not tell you AI has solved software testing. It will tell you, precisely, what it did and didn't do when actually built and run.

Does not promise
{{ item.text }}
Does instead
{{ item.text }}
Chapter 1

Why I Built It

A test suite of thirty-four scenarios had passed for months, covering every corner of a demand-planning module built and maintained from scratch. Then, over the course of a week, the pass rate dropped sharply — with no corresponding change to the scenarios themselves.

The traditional response: open the CI report, read the failure logs one scenario at a time, reproduce locally, inspect the DOM in DevTools to find out whether a locator changed or the application regressed, fix or file a defect, rerun. One particular week was lost to a bug that required no judgment at all — a filename casing mismatch between a local machine and a case-sensitive CI runner.

"What if the testing system could investigate its own failures?"

Not "AI writes my tests for me" — Codegen and a Page Object Model already did that. Something further: a system that sees a failure, gathers the same evidence a human would gather, forms a hypothesis, proposes or applies a fix, and reports — honestly — whether it worked. That question became HeliosQE.

I Didn't Build a Demo. I Built an Experiment.

The system takes a plain-English requirement and attempts a full pipeline — plan, generate, execute, investigate, repair, report — with a real stack (React, Node/Express, Prisma, Postgres) and real model calls (Anthropic and Gemini APIs). If a module wasn't backed by a real model call against real data, it was never called "live."

{{ step.num }}
{{ step.text }}

Inside the AI Testing Agent

Four narrow agents, each individually inspectable, testable, and replaceable — instead of one opaque loop doing every judgment call at once.

Click a stage to see its interface.

{{ selectedAgentDetail.tag }}

{{ selectedAgentDetail.name }}

Input
{{ selectedAgentDetail.input }}
Output
{{ selectedAgentDetail.output }}
Tools
{{ selectedAgentDetail.tools }}
Must never
{{ selectedAgentDetail.never }}

An earlier version used a single agent with every tool available. It worked — and was impossible to debug safely, because one prompt handled planning, code generation, and failure diagnosis at once. Splitting responsibilities made each decision individually inspectable.

Get the Full Book

What You Will Learn

{{ b.text }}

What's Inside

Fourteen parts, forty chapters, moving from the problem to a working architecture to what it's actually worth in production.

{{ p.roman }}
{{ p.title }}
{{ p.desc }}
Chapter 21 · Experiment 4

The Most Valuable Part? What Failed.

{{ t.label }}
{{ t.text }}

"A green test is not automatically proof that the AI fixed the right thing."

See What I Learned

What Worked vs. What Didn't

What Worked
{{ w.title }}
{{ w.text }}
What Didn't
{{ f.title }}
{{ f.text }}

Self-Healing Sounds Great. Until You Ask: "Did It Fix the Right Thing?"

A repair loop's job is to make a test pass. Nothing in that objective guarantees the resulting test still verifies what it was originally meant to verify. Self-healing works best on narrow, mechanical changes — a relabeled button, a renamed CSS class. It fails when it papers over an ambiguous element, a misunderstood business rule, or a genuine application defect.

{{ r.text }}

How Reliable Is an AI Testing Agent?

Vague claims ("it works most of the time") aren't good enough. The book defines the metrics it actually measured its own architecture against.

{{ m.name }}
{{ m.def }}

Five documented experiments is not a statistically rigorous benchmark, and this book doesn't pretend otherwise by inventing precision it doesn't have. What the experiments support, directionally: classification (Reviewer) performed more reliably than generative repair (Developer), and grounding locators in real browser observation reduced — without eliminating — invented-selector failures. Reliability must be measured empirically, not asserted.

Giving an AI Agent Access to Your Code Changes the Risk.

Tool access, browser control, and execution capability are an expansion of attack surface — not a neutral engineering decision.

{{ s.title }}
{{ s.text }}
The single most important guardrail

Never let a system whose job is "make the test pass" have unsupervised authority over questions of "is the application actually correct."

AI Testing Has an Economics Problem Too.

Every LLM call costs money and takes time — and repair cycles multiply both. Before deploying an agentic workflow, understand what every loop and model call costs.

Where cost accumulates
{{ c.text }}
Optimizing it
{{ c.text }}

Want to Build Your Own?

{{ p.text }}

Preview the Book

Five pages, straight from the manuscript.

PAGE {{ pg.num }}
{{ pg.chapter }}
{{ pg.excerpt }}

About the Author

Suyash Joshi is a test architect who has spent years building and maintaining a production Playwright/Cucumber automation framework. He is not a machine learning researcher — he decided to find out, hands-on, what an AI agent can and can't be trusted to do in that world, and HeliosQE is the record of that experiment.

Who Should Buy This Book?

{{ w.role }}
{{ w.text }}
Probably not for you if you want...
— {{ n.text }}

You Get

{{ i.text }}
I BUILT AN AI SOFTWARE TESTING AGENT
Ebook · 2026
{{ bookPrice }}
Get this E-Book
Secure payment handled by our payment provider.

Frequently Asked Questions

{{ f.a }}

AI testing is changing quickly. Learn how to reason about it before blindly adopting it.

You've seen the architecture. You've seen the experiments. You've seen what worked, and what failed.

Now explore the complete engineering journey.

Get this E-Book