This skill provides Claude Code with a comprehensive framework for writing high-quality Python tests, covering everything from basic unit tests to complex integration scenarios. It standardizes the use of the pytest framework, guiding the implementation of the AAA (Arrange, Act, Assert) pattern, fixture management, and sophisticated mocking techniques. By incorporating advanced concepts like asynchronous testing, parameterization, and property-based testing, it ensures that Python applications are reliable, maintainable, and backed by a meaningful test suite.
主な機能
01Comprehensive pytest implementation patterns and best practices
022 GitHub stars
03Advanced mocking techniques using unittest.mock and patch decorators
04Scalable fixture management for complex setup and teardown workflows
05Dedicated support for testing asynchronous code and concurrent operations
06Detailed strategies for parameterized testing and exception handling