# Testing Utilities — BrandApp Playground

> In-memory SDKs, a real HTTP test server, and typed fixtures for fast offline tests.

- Canonical page: https://brandapp-playground.vercel.app/testing
- Markdown: https://brandapp-playground.vercel.app/testing.md
- SDK module: `@reopt-ai/brandapp-sdk/testing`

## Utilities

- `createTestSDK()` — an in-memory SDK for unit tests; no server, no network
- `createTestServer()` — a real HTTP server on a random port for integration tests
- `createFixture()` — typed fixtures that can be seeded into either

Together they let you test SDK-dependent code deterministically and offline, which is what
makes the suites in this repository runnable in CI without credentials.

## Related

- [Dev Server](https://brandapp-playground.vercel.app/dev-server.md)
- [Error Handling](https://brandapp-playground.vercel.app/errors.md)

---

Index of every document: https://brandapp-playground.vercel.app/llms.txt
Single-file copy: https://brandapp-playground.vercel.app/llms-full.txt
HTTP API description: https://brandapp-playground.vercel.app/openapi.json
