The Test the Agent Wrote That Never Fails
by•
The agent added a test for a bug fix. I reverted the fix and ran the test. It passed. The assertion was checking a mock that always returned true, regardless of the code.
I now revert every fix before trusting the test. If the test passes without the fix, the test is decoration. Has anyone else caught the agent writing tests that can't fail?
9 views
Replies
Be the first to reply
Have a question or a thought to share? Add a comment above to start the conversation.