Python Testing Patterns

Guides expert-level Python testing with pytest: fixture design, parametrize patterns, mocking strategies with unittest.mock, async test patterns, and test organization. Covers the testing pyramid for Python projects with emphasis on fast, reliable, maintainable tests. Use when the user asks about Python testing, pytest fixtures, test mocking, parametrized tests, async testing in Python, or organizing Python test suites. Do NOT use when the user asks about project setup (use `python-project-setup`), language-agnostic testing concepts (use `unit-testing-patterns`), or Python performance profiling (use `python-performance`).

FerroxLabs 414d081 2 files · 40.7 KB Updated 37 repo stars

File contents

ferroxlabs/murage/tree/main/skills-library/python-testing-patterns commit 414d081d5c

Frequently asked questions

npx skillmds@latest add ferroxlabs/python-testing-patterns