Fix a failing test
Green the build again.
chatgptclaude
Act as a senior engineer. This test is failing: [paste test + failure output]. Here's the code under test: [paste]. Tell me whether the test or the code is wrong, explain why it fails, and give the fix. Note any edge case the test revealed. Language/framework: [lang].
How to use this prompt
- Tap Copy prompt above.
- Replace the [bracketed] parts with your own details.
- Paste it into chatgpt, claude.