What problem does it solve?
It helps you create reliable API integration tests for FastAPI services so you can validate request/response behavior without calling real external providers or production databases.
Core Features & Use Cases
- Pytest + httpx Async integration: Uses httpx AsyncClient with ASGITransport to test FastAPI endpoints without running a live server.
- Data-driven test cases: Loads dynamically generated test cases from the required JSON output produced by the test-case-generation skill.
- Deterministic mocking: Enforces dependency_overrides and mocking to avoid real LLM/database calls and keep tests fast and safe.
- Automated results reporting: When requested, runs pytest and then generates a Markdown report with pass/fail summary for downstream reporting.
Quick Start
Ask the assistant to write and run API integration tests for your FastAPI service using pytest and httpx, ensuring all external services and databases are mocked and results are saved to the required output locations.