python-test-generator - Python Test Generator for FastAPI and SQLAlchemy
Generates Python test suites and architecture for FastAPI and SQLAlchemy projects using pytest, testcontainers, and polyfactory.
Tags
Updated: 2026-09-14Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Scaffold test directory structure
- Generate container fixture files
- Generate entity factory files
- Generate integration and unit tests
- Configure pytest test settings
Inputs
- SQLAlchemy and Pydantic models
- API endpoint specifications
- Service and use case requirements
- Container dependency requirements
- Authentication scheme details
Outputs
- Test directory structure
- Container fixture files
- Entity factory files
- Integration and unit test files
- Pytest configuration file
Requirements
- Python 3.11 or higher
- Docker daemon
- Pytest and testcontainers packages
- Polyfactory package
- Bash tool access
- File Read and Write permissions
