@kentcdodds: You know how when you tell an agent to remove something, it adds a test assertion to make sure that thing is no longer …

X AI KOLs Timeline Tools

Summary

Kent C. Dodds describes how AI agents often add unnecessary test assertions when removing code, and shares that he had an agent create an oxlint plugin to prevent this behavior.

You know how when you tell an agent to remove something, it adds a test assertion to make sure that thing is no longer there? That's super annoying and it's fine for verification but stupid to keep. So I had the agent make an oxlint plugin to stop it. https://t.co/7wBNxCxrdx
Original Article
View Cached Full Text

Cached at: 09/06/26, 12:51 PM

You know how when you tell an agent to remove something, it adds a test assertion to make sure that thing is no longer there?

That’s super annoying and it’s fine for verification but stupid to keep.

So I had the agent make an oxlint plugin to stop it. https://t.co/7wBNxCxrdx

Similar Articles

@mattpocockuk: "No tautological tests"

X AI KOLs Timeline

A tweet criticizes the AI model Opus for adding excessive unit tests for simple constant strings, highlighting issues with tautological testing in AI-assisted development.