Systematically identify and fix all failing tests using smart grouping strategies. Use when explicitly asks to fix tests ("fix these tests", "make tests pass"), reports test failures ("tests are failing", "test suite is broken"), or completes implementation and wants tests passing.
Systematically identify and fix all failing tests using smart grouping strategies.
Run make test to identify all failing tests.
Analyze output for:
Group similar failures by:
Prioritize groups by:
For each group (starting with highest impact):
Identify root cause
git diffImplement fix
Verify fix
uv run pytest tests/path/to/test_file.py -v
uv run pytest -k "pattern" -v
Move to next group
Infrastructure first:
Then API changes:
Finally, logic issues:
After all groups fixed:
make testgit diff to understand recent changesUser: "The tests are failing after my refactor"
make test → 15 failures identified