---
title: "Testing"
description: "Learn about testing with @hey-api/openapi-ts."
url: "https://heyapi.dev/docs/openapi/typescript/mocks"
---

Testing is an important component of every robust development process. Generate realistic mock data, intercept requests at the network layer, or drive assertions against a running server, all from your specification.

## Plugins

[Section titled “Plugins”](#plugins)

Hey API natively supports the following testing libraries.

* [Chance](https://heyapi.dev/docs/openapi/typescript/plugins/chance) Vote
* [Faker](https://heyapi.dev/docs/openapi/typescript/plugins/faker) Vote
* [Falso](https://heyapi.dev/docs/openapi/typescript/plugins/falso) Vote
* [MSW](https://heyapi.dev/docs/openapi/typescript/plugins/msw) Vote
* [Nock](https://heyapi.dev/docs/openapi/typescript/plugins/nock) Vote
* [Playwright](https://heyapi.dev/docs/openapi/typescript/plugins/playwright) Vote
* [Supertest](https://heyapi.dev/docs/openapi/typescript/plugins/supertest) Vote

Don’t see your library? Let us know by [opening an issue](https://github.com/hey-api/hey-api/issues).

## Examples

You can view live examples on [StackBlitz](https://stackblitz.com/orgs/github/hey-api/collections/openapi-ts-examples) or on [GitHub](https://github.com/hey-api/hey-api/tree/main/examples).
