python-testing-best-practices
Source-verified Python testing practices for pytest, mocks, retries, controlled state, property tests, database integration, and FastAPI applications. Use when writing, reviewing, configuring, or stabilizing Python test suites.
Pinned to revision 0de03c1c4d10, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/python-testing-best-practices/SKILL.md
- skills/python-testing-best-practices/agents/openai.yaml
- skills/python-testing-best-practices/references/_sections.md
- skills/python-testing-best-practices/references/_template.md
- skills/python-testing-best-practices/references/fastapi-override-and-reset-dependencies.md
- skills/python-testing-best-practices/references/fastapi-run-lifespan-and-isolate-io.md
- skills/python-testing-best-practices/references/fastapi-use-asgi-transport-for-async.md
- skills/python-testing-best-practices/references/fastapi-use-testclient-for-sync.md
- skills/python-testing-best-practices/references/test-configure-pytest-and-ci.md
- skills/python-testing-best-practices/references/test-control-time-environment-and-files.md
- skills/python-testing-best-practices/references/test-isolate-database-integration.md
- skills/python-testing-best-practices/references/test-mock-boundaries-and-retries.md
- skills/python-testing-best-practices/references/test-organize-suites-and-name-behaviors.md
- skills/python-testing-best-practices/references/test-register-markers-and-enforce-coverage.md
- skills/python-testing-best-practices/references/test-use-fixtures-and-parametrization.md
- skills/python-testing-best-practices/references/test-use-property-based-testing.md
Every link opens the file at its source, pinned to the revision this page describes.