What I do
- •Run test suites with coverage analysis
- •Debug failing tests and analyze error messages
- •Generate coverage reports for code quality assessment
When to use me
Use this when you need to execute tests, check coverage, or troubleshoot test failures. This includes running all tests, single test methods, or debugging specific test issues.
Procedure
- •Activate conda environment:
conda activate softball-stats - •Run tests with coverage:
pytest tests/ -v --cov=src --cov-report=html - •Analyze coverage report in htmlcov/ directory
- •Debug failures by examining error messages and test fixtures
- •Fix implementation issues identified by tests
Related Guidelines
- •Follow testing standards from AGENTS.md
- •Use fixtures for test data setup
- •Ensure pre-commit checks pass before commits