FastAPI_Pytest_TDDHelper

Installation
SKILL.md

FastAPI Pytest TDD Helper

High-performance TDD blueprint for FastAPI projects.

Core Principles

Principle Implementation
Speed AsyncClient over TestClient (~20% faster)
Isolation Transaction rollback, not schema recreation
TDD Red-Green-Refactor cycle strictly
Validation Pydantic models, not just status codes

Quick Start

1. Install Dependencies

pip install pytest pytest-asyncio httpx aiosqlite pytest-cov
Related skills
Installs
5
First Seen
Mar 2, 2026