smoketest-writing
OfficialEasily write isolated FastAPI smoketests.
Authordatabio
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Automates the creation of isolated integration/smoke tests for FastAPI backends using ephemeral Docker PostgreSQL, TestClient, and dependency injection to avoid touching dev databases.
Core Features & Use Cases
- True isolation: tests run against a temporary PostgreSQL container rather than the development database.
- Dependency injection: override get_session/get_dbagent to point to the test database.
- Reusable patterns: scaffolds conftest fixtures, test runners, and example tests for common FastAPI projects.
Quick Start
Run the smoketest-writing guide to scaffold integration tests for a FastAPI project and execute them in an isolated environment.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: smoketest-writing Download link: https://github.com/databio/ai-sandbox/archive/main.zip#smoketest-writing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.