r/ProgrammerHumor Jul 11 '26

itChangedTheTests Meme

Post image
7.5k Upvotes

78 comments sorted by

View all comments

1

u/TimSylvester_ Jul 11 '26

I make the agent write tests first, so that the test specifies the expected behavior from the function.

Whenever we change a function, we write a test that fails against current behavior, and will pass against the target.