Testing 582 installs

Python Testing Patterns

by affaan-m/everything-claude-code

Python testing strategies using pytest, TDD methodology, fixtures, mocking, parametrization, and coverage requirements.

Skill content

Python Testing Patterns

Comprehensive testing strategies for Python applications using pytest, TDD methodology, and best practices.

When to Activate

- Writing new Python code (follow TDD: red, green, refactor)

- Designing test suites for Python projects

- Reviewing Python test coverage

- Setting up testing infrastructure

Core Testing Philosophy

Test-Driven Development (TDD)

Always follow the TDD cycle: