Litestar Testing

Test Litestar applications with TestClient, AsyncTestClient, create_test_client, websocket test helpers, dependency overrides, mocked dependencies, lifecycle-aware fixtures, and deterministic success and failure assertions. Use when adding or fixing Litestar test coverage, including exception contracts, override precedence, websocket behavior, event-bus side effects, or live-server-only response patterns. Do not use as a substitute for production observability or runtime debugging strategy.

alti3 e6ba9b4 4 files · 19.5 KB Updated

File contents

alti3/litestar-skills/tree/main/plugins/litestar/skills/litestar-testing commit e6ba9b42a0

Frequently asked questions

npx skillmds@latest add alti3/litestar-testing