TestMu Conf 2026
Ship Faster. Test SmarterJoin Now
Ship Faster. Test SmarterJoin Now
SESSION

You Can’t assertEquals an Agent: A Tester’s Guide to Agentic Quality

AUG 20, 202608:30 - 09:30 AM (PT)60 MINS

Watch the recording

Watch on YouTube

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:

  • Takeaway

    A five-layer mental model for decomposing any agentic workflow into testable components — reasoning, tool use, memory, orchestration, and output quality.

  • Takeaway

    Practical testing techniques for non-deterministic systems including trajectory testing, LLM-as-judge evaluation, chaos injection, and semantic regression suites.

  • Takeaway

    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.

More Sessions

Join the builders, testers, and innovators shaping the next generation of web experiences.
Testμ Conf 2026 is where they meet.

Register Now