| name | pytest Testing |
| description | Expert pytest framework for Python unit, integration, and functional testing |
| allowed-tools | ["Bash","Read","Write","Edit","Glob","Grep"] |
| graph | {"domains":["domain:software-engineering"],"specializations":["specialization:qa-testing-automation"],"skillAreas":["skill-area:unit-testing","skill-area:integration-testing"],"roles":["role:qa-engineer","role:backend-engineer"],"workflows":["workflow:feature-development"],"topics":["topic:test-driven-development"]} |
pytest Testing Skill
Overview
This skill provides expert-level capabilities for pytest-based testing, enabling comprehensive Python testing with fixtures, parametrization, and plugin integration.
Capabilities
Test Execution
- Configure pytest with fixtures and markers
- Execute tests with coverage collection
- Parallel execution with pytest-xdist
- Selective test running with markers and keywords
Fixture Management
- Design reusable fixtures
- Configure fixture scopes (function, class, module, session)
- Implement fixture factories
Parametrization
- Generate parametrized test cases
- Data-driven testing patterns
- Combine multiple parameter sets
Plugin Integration
- Configure pytest plugins
- Coverage integration with pytest-cov
- HTML and JUnit XML report generation