This skill equips Claude with a robust framework for Python application testing, emphasizing Test-Driven Development (TDD) and high code coverage standards. It provides deep expertise in pytest features including fixtures, parameterization, and custom markers, alongside sophisticated mocking techniques for external APIs and database connections. Whether building new features from scratch or refactoring legacy code, this skill ensures that Python projects remain resilient, maintainable, and thoroughly verified through unit, integration, and asynchronous testing patterns.
主要功能
01TDD workflow implementation using Red-Green-Refactor cycles
020 GitHub stars
03Comprehensive mocking and patching strategies for isolating external dependencies
04Automated code coverage analysis and requirement enforcement
05Asynchronous code testing support via pytest-asyncio patterns
06Advanced pytest fixture management with various scopes and setup/teardown logic