python-testing - Python Testing with pytest and TDD
Comprehensive Python testing strategies using pytest, TDD, fixtures, mocking, and coverage
Tags
Updated: 2026-05-09Capabilities
Typical Inputs
Typical Outputs
What this skill does
- write test cases
- run pytest tests
- create test fixtures
- mock external dependencies
- measure code coverage
- parametrize test inputs
- test async functions
- assert test conditions
Inputs
- Python project code
- pytest test files
- test configuration files
- external API dependencies
Outputs
- test execution results
- code coverage reports
- test failure messages
Requirements
- pytest framework
- Python runtime environment
- pytest-cov plugin
- pytest-asyncio plugin
