Repair a failing unit test
A minimal fix verified with the selected test.
Jump to the promptA minimal fix verified with the selected test.
READY-TO-USE PROMPT
Reproduce [TEST] in [REPO] using the existing environment. Check the intended behavior and fix the implementation or an incorrect test assumption. Do not remove assertions just to obtain a pass. Rerun the test and explain the change.
Paste into a conversation with LocalCommander. Replace bracketed fields with your own paths, files or URLs.
THE WORKFLOW
From your material to a result.
- 01
Prepare the inputs: Repository, test name and failure.
- 02
Replace square-bracket placeholders with the actual names, paths or URL. Paste the prompt into a chat with LocalCommander connected.
- 03
Verify the result: A minimal fix verified with the selected test. Ask for the saved file location or the evidence behind the findings.