868 B
868 B
description, argument-hint
| description | argument-hint | |
|---|---|---|
| Run and debug a specific failing test |
|
Debug a specific failing test:
- Identify the test command for the project (pnpm test, uv run pytest)
- Run the specific test provided in the argument
- If test fails, analyze the error output
- Suggest potential fixes based on the failure
- Allow iterative debugging with repeated test runs
- After test passes, run linters and fix issues (pnpm biome check --write, uv run ruff check --fix, uv run ruff format)
- Run type checking (pnpm tsc --noEmit for TypeScript, uv run ty check for Python)
- Run the test again to ensure it still passes after lint/type fixes
- Stage all changes if everything passes
IMPORTANT: This is for investigating specific test failures, not for running the full test suite. All linting and type checking must pass before completing.