> ## Documentation Index
> Fetch the complete documentation index at: https://docs.poly.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Testing

> Validate your agent before and after going live with simulation tests and A/B experiments.

Testing in Agent Studio gives you three ways to validate your agent:

* **Simulation tests** — automated conversations that verify your agent handles specific scenarios correctly. Author a test by describing what a caller will do and asserting how the agent should respond, then run it against Draft or Sandbox to catch regressions before they reach production.
* **A/B tests** — split live traffic between two versions and compare real-world performance before fully rolling out a change.
* **Studio Assistant** — generate simulation test scenarios from natural language. Describe a flow and [Studio Assistant](/studio-assistant/introduction) authors the test cases for you, keeping them in sync as your agent changes.

Use simulation tests throughout development to catch issues early. Use A/B tests when you need real-world evidence that a change improves outcomes. Use Studio Assistant when you want to quickly scaffold test coverage without writing each case by hand.

<CardGroup cols={2}>
  <Card title="Create simulation tests" icon="flask-vial" href="/testing/simulation-tests">
    Author scenario-based tests with assertions and system actions.
  </Card>

  <Card title="Run and review" icon="play" href="/testing/run-and-review">
    Execute tests, inspect results, and organize with test sets.
  </Card>

  <Card title="A/B testing" icon="shuffle" href="/testing/ab-testing">
    Split live traffic between two versions and pick a winner.
  </Card>

  <Card title="Automate with API" icon="code" href="/testing/ci-automation">
    Gate deployments on test results from CI.
  </Card>
</CardGroup>
