909 B
909 B
description
| description |
|---|
| Run pytest with proper configuration and coverage reporting |
Run Python Tests
Execute the project's test suite using pytest with appropriate options and coverage reporting.
Tasks to Complete
-
Run Tests
- Execute
uv run pytestto run all tests - Display test results clearly
- Report any failures with details
- Execute
-
Coverage Analysis (if requested)
- Run
uv run pytest --covfor coverage report - Generate HTML coverage report if needed
- Highlight areas needing more test coverage
- Run
-
Test Filtering (if requested)
- Run specific test files:
uv run pytest tests/test_specific.py - Run tests matching pattern:
uv run pytest -k "pattern" - Run only failed tests:
uv run pytest --lf
- Run specific test files:
Expected Outcome
- Clear test results showing passes/failures
- Coverage percentages for each module
- Actionable information about test failures