test-fixing
Tests & QualitéRun tests and systematically fix all failing tests using smart error grouping. Use when user asks to fix failing tests, mentions test failures, runs test suite and failures occur, or requests to make tests pass.
Documentation
Test Fixing
Systematically identify and fix all failing tests using smart grouping strategies.
When to Use
Systematic Approach
1. Initial Test Run
Run make test to identify all failing tests.
Analyze output for:
2. Smart Error Grouping
Group similar failures by:
Prioritize groups by:
3. Systematic Fixing Process
For each group (starting with highest impact):
git diff```bash
uv run pytest tests/path/to/test_file.py -v
uv run pytest -k "pattern" -v
```
4. Fix Order Strategy
Infrastructure first:
Then API changes:
Finally, logic issues:
5. Final Verification
After all groups fixed:
make testBest Practices
git diff to understand recent changesExample Workflow
User: "The tests are failing after my refactor"
make test → 15 failures identifiedCompétences similaires
Explorez d'autres agents de la catégorie Tests & Qualité
test-driven-development
Use when implementing any feature or bugfix, before writing implementation code
debugging-strategies
Master systematic debugging techniques, profiling tools, and root cause analysis to efficiently track down bugs across any codebase or technology stack. Use when investigating bugs, performance issues, or unexpected behavior.
azure-microsoft-playwright-testing-ts
Run Playwright tests at scale using Azure Playwright Workspaces (formerly Microsoft Playwright Testing). Use when scaling browser tests across cloud-hosted browsers, integrating with CI/CD pipelines, or publishing test results to the Azure portal.