| name | python-testing-patterns |
| description | Comprehensive pytest patterns for Python 3.14 / FastAPI — fixtures, parametrize, mocking, async testing, database fixtures, test markers, coverage config, and CI integration. Use when writing or structuring Python test suites beyond the basic TDD cycle. |
| allowed-tools | Read, Write, Edit, Bash |
| metadata | {"triggers":"pytest, pytest fixtures, parametrize, pytest mocking, async tests, test database, coverage config, pytest markers, Python test suite, conftest.py, GitHub Actions tests, property-based testing, Hypothesis pytest","related-skills":"test-driven-development, python-dev, agentic-ai-dev","domain":"quality","role":"specialist","scope":"testing","output-format":"code"} |
| last-reviewed | 2026-03-14 |
Iron Law
NO TEST INFRASTRUCTURE WITHOUT READING THE PLAYBOOK FIRST — fixtures, markers, and coverage config have workspace-specific patterns that prevent test debt
Python Testing Patterns
Deep reference for pytest test infrastructure, fixtures, async patterns, and CI integration for Python 3.14 / FastAPI services.
When to Use
Load this skill when:
- Setting up a new test suite from scratch (conftest.py, pyproject.toml config)
- Writing parametrized tests for multiple input scenarios