You Can’t assertEquals an Agent: A Tester’s Guide to Agentic Quality
The first time I tried to write a test for an agentic workflow, I reached for assertEquals — and immediately realized how useless it was. The output was different every run. The tool calls happened in a different order. The reasoning path shifted mid-conversation. Everything I knew about testing said this system was broken. But it was working exactly as designed.
This is not a theoretical problem anymore. Teams across the industry are shipping agents that plan, reason, invoke tools, and make autonomous decisions in production. But testing practices have not kept up — most teams rely on happy-path prompts and manual spot checks because the traditional playbook was never built for systems that think for themselves.
In this talk, I will present a practical testing playbook built from real-world experience of breaking, debugging, and hardening agentic workflows. I will introduce a layered mental model that decomposes any agentic workflow into distinct testable components — giving your team a shared vocabulary to move from “where do we even start” to a structured strategy.
Then I will open a live demo. Using an open-source orchestration framework with a visual graph interface, I will walk through a working agent and systematically break each layer on screen — showing subtle, dangerous failure modes and the concrete testing techniques that catch them. You will walk away with a testing mental model, a working demo you can clone, and the confidence to stop guessing and start testing agents with intention.
Key Takeaways:
A five-layer mental model for decomposing any agentic workflow into testable components — reasoning, tool use, memory, orchestration, and output quality.
Practical testing techniques for non-deterministic systems including trajectory testing, LLM-as-judge evaluation, chaos injection, and semantic regression suites.
A clear framework for deciding what to automate, what needs human review, and where to draw the line between flaky and broken.
About the speaker
Gaurav Khurana:
Gaurav Khurana is a Senior Test Consultant at Microsoft and AI enthusiast with 15+ years in testing and automation. Recognized as Tester of the Year 2022 and a multiple-hackathon winner, he’s an active mentor and community builder who creates Udemy courses and YouTube series on GitHub Copilot, AI with Python, Azure DevOps, and API testing — all available at gauravkhurana.com.
About
TestMu Conf
Testμ (TestMu) is the world’s largest virtual conference on agentic engineering and quality, built by the community, for the community. As AI reshapes how we build, test, and ship software, Testμ Conf is where you connect, grow, and lead: agentic workflows, autonomous quality, battle-tested AI playbooks, hands-on workshops, and the engineering culture driving it all.