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

# Testing Framework

> E2E testing with fixtures, custom matchers, and interceptors

`@frontmcp/testing` provides a complete end-to-end testing framework for MCP servers. Write tests that spin up your server, call tools, and assert on results — all with type-safe fixtures and custom matchers.

<CardGroup cols={2}>
  <Card title="Testing Overview" icon="flask-vial" href="/frontmcp/testing/overview">
    Complete testing guide with installation and configuration
  </Card>

  <Card title="Fixtures" icon="wrench" href="/frontmcp/testing/fixtures">
    Test server setup and teardown with Playwright-inspired fixtures
  </Card>

  <Card title="Custom Matchers" icon="check" href="/frontmcp/testing/matchers">
    All available Jest matchers (`toBeSuccessful`, `toBeXssSafe`, etc.)
  </Card>

  <Card title="Interceptors" icon="shield-check" href="/frontmcp/testing/interceptors">
    Mock providers and simulate failure scenarios
  </Card>
</CardGroup>
