python-testing - Apply pytest and TDD testing patterns
Provides Python testing strategies with pytest, TDD, fixtures, mocking, parametrization, and coverage practices.
Tags
Updated: 2026-10-05Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Apply TDD cycles
- Design pytest test suites
- Create and use fixtures
- Parameterize test cases
- Mock external dependencies
- Measure code coverage
- Select tests by markers
Inputs
- Python application code
- Test requirements
- External dependency interfaces
- Coverage targets
Outputs
- Test code
- Pytest test results
- Coverage measurements
- Coverage reports
- Test selection results
Requirements
- Python environment
- pytest
- pytest coverage support
