This skill equips Claude with the expertise to architect and maintain high-quality Python test infrastructures using advanced pytest capabilities. It covers sophisticated patterns such as fixture factories, multi-scope lifecycle management, and indirect parametrization. Additionally, it provides specialized configuration for critical plugins like pytest-cov for coverage, pytest-xdist for parallelization, and pytest-asyncio for modern async applications, ensuring your test suite remains maintainable, fast, and comprehensive as your project scales.
Key Features
01Advanced fixture lifecycle and factory pattern management
02Automated coverage reporting and enforcement with pytest-cov
03Parallel test execution configuration using pytest-xdist
04Asynchronous testing support via pytest-asyncio
053 GitHub stars
06Complex test parametrization and custom marker implementation