Cover of AI-Native Software Testing
AI Quality Engineering · Book 1

AI-Native Software Testing

Architecture, Agents, Evidence and Governance

A practical handbook for designing testing systems that combine deterministic execution with AI, controlled autonomy, independent test oracles and trustworthy evidence, now with two companion packs.

Author
Srinivas Bommena
Edition
Second Edition
Published
November 2026
Formats
Kindle, Leanpub
Length
1196 pages

About this book

2,847 tests passed. Zero failed. One was wrong.

What happens when an AI agent writes a test, another agent repairs it, and a third declares the result correct? If all three share the same flawed assumption, your entire testing pipeline can turn green while the product remains broken.

AI-Native Software Testing is a practical handbook for designing testing systems that combine deterministic execution with artificial intelligence, controlled autonomy, independent test oracles and trustworthy evidence.

Using Playwright and TypeScript as the worked execution layer, the book follows a continuous commerce application scenario across 22 chapters, connecting browser automation, APIs, distributed workflows, AI-powered features and release governance.

What you will learn

  • Design resilient AI-native testing architectures that preserve business intent as application interfaces change
  • Build controlled self-healing mechanisms without silently weakening assertions or changing test intent
  • Apply visual, multimodal, API, contract, property-based, metamorphic and differential testing
  • Evaluate RAG applications, AI agents, tool interactions and LLM-as-judge mechanisms
  • Design secure agent tooling using the Model Context Protocol (MCP) and independent authorisation controls
  • Integrate AI-assisted testing into CI/CD pipelines, cost engineering, governance and organisational operating models

What’s new in the Second Edition (November 2026)

A substantially enhanced companion ecosystem, strengthened worked examples, clearer technical explanations, improved architectural presentation and more explicit lab completion criteria. Two downloadable companion packs turn reading into practical engineering experience:

  • Companion Asset Pack — 27 practitioner assets: editable Word templates, Excel workbooks, structured YAML and JSON records, worked examples, test-intent contracts, oracle registries, healing dossiers, evaluation scorecards and governance artifacts, plus a bounded Playwright and TypeScript implementation example, a Lab Reader Guide covering all 22 chapters and an Exercise Review Log.
  • AI-Assisted Lab Validation Toolkit: rather than comparing your work with a fixed answer key, you learn to explain your decisions, challenge assumptions, identify missing evidence and establish whether your implementation genuinely works. It can also be used manually.

Who it’s for

QA engineers moving into AI-native testing, SDETs building intelligent automation, test architects designing enterprise testing platforms and engineering leaders modernising quality practices. With 22 chapters, 22 hands-on labs, eight practical appendices and an integrated capstone, it connects technical implementation with engineering judgement and accountable decision-making.

Build with AI. Validate with evidence.

Keep reading

Related books