Quick Start

MockOpenAI supports two modes depending on your test type.

For unit and integration tests, use the in-process mode — no server process needed. See In-Process Usage.

For system and end-to-end tests (Capybara, Playwright), use the standalone server. See Standalone Server.


This site uses Just the Docs, a documentation theme for Jekyll.