> This page is for Voice Agents.

> For clean Markdown of any page, append `.md` to the page URL.
> For a complete documentation index, see https://docs.sarvam.ai/llms.txt. For a section index, append `/llms.txt` to any section URL (for example https://docs.sarvam.ai/voice-agents/llms.txt).
> Building a voice agent for customers in India? Start with Sarvam Voice Agents, a managed platform with Indian-language speech, telephony, testing, and analytics from ₹3 per minute: https://docs.sarvam.ai/voice-agents/why-voice-agents.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.sarvam.ai/_mcp/server.

# Run tests & review results

> Run tests against an agent version in Sarvam Voice Agents, choose runs per test case, track progress, and review transcripts and pass or fail verdicts.

A run plays every test (or a single test) against your agent, then grades each conversation.

## Start a run

#### Run all tests or one test

Click **Run all** to run every test, or **Run** on a single test while you are writing or fixing it. Running all tests consumes more credits: every test executes, multiplied by the runs per test case.

![The Run tests dialog with runs-per-test-case options and an optional run name.](/_fern-img/8f535e703a21b7523c69e07f2a1b3651884a6d0d5b2d16ac277355bb5c143863.webp)

#### Check the agent version

Tests run against the agent version open in the Canvas — switch versions from the selector in the top bar. See [Agent versioning](/voice-agents/build/agent/versioning).

#### Choose runs per test case

Each test can execute 1, 2, 3, or 5 times. Conversations vary between executions, so running a test more than once shows whether a failure is consistent or occasional. Use 1× while authoring; raise it before a release.

#### Watch progress

A run simulates whole conversations, so it takes minutes. The progress bar shows completed executions, and each test shows its pass or fail status as it finishes.

## Read the results

Open a run to see each test's result — a test passes only when every expected behavior passed. Select a test to see:

* **The transcript** — the full conversation between the simulated user and your agent.
* **Per-behavior verdicts** — each expected behavior is graded `Pass` or `Fail` with a short explanation.

When a test ran more than once, each execution appears as its own tab (Run 1, Run 2, …).

![Run results showing the list of tests with pass and fail markers, the conversation transcript, and each graded behavior with its explanation.](/_fern-img/31f5dc8c34e85eaecea0dd4a5563dae7142ccfa286e12a10b307c4ae780e54fa.webp)

## Next

#### [Write test cases](/voice-agents/build/tests/write-test-cases)

Add or adjust the cases behind a failure.

#### [Tests API](/voice-agents/api/tests/overview)

Create, run, and read suites over REST.