Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests, setting up test suites, or implementing testing best practices.
Add this skill
npx mdskills install sickn33/python-testing-patternsDelegates all implementation details to external resource, lacks actionable instructions in main skill
1---2name: python-testing-patterns3description: Implement comprehensive testing strategies with pytest, fixtures, mocking, and test-driven development. Use when writing Python tests, setting up test suites, or implementing testing best practices.4---56# Python Testing Patterns78Comprehensive guide to implementing robust testing strategies in Python using pytest, fixtures, mocking, parameterization, and test-driven development practices.910## Use this skill when1112- Writing unit tests for Python code13- Setting up test suites and test infrastructure14- Implementing test-driven development (TDD)15- Creating integration tests for APIs and services16- Mocking external dependencies and services17- Testing async code and concurrent operations18- Setting up continuous testing in CI/CD19- Implementing property-based testing20- Testing database operations21- Debugging failing tests2223## Do not use this skill when2425- The task is unrelated to python testing patterns26- You need a different domain or tool outside this scope2728## Instructions2930- Clarify goals, constraints, and required inputs.31- Apply relevant best practices and validate outcomes.32- Provide actionable steps and verification.33- If detailed examples are required, open `resources/implementation-playbook.md`.3435## Resources3637- `resources/implementation-playbook.md` for detailed patterns and examples.38
Full transparency — inspect the skill content before installing.