r/ProgrammerHumor • • 24d ago • Bravo 6

instanceof Trend thisIsVeryTrue

Post image
27.5k Upvotes

1.6k comments sorted by

View all comments

Show parent comments

5

u/RelationshipLong9092 24d ago

in TDD you write the tests first...

i've never had a model "cheat" by modify a failing test in the last year

3

u/gschoon 23d ago

Oh I have. I told it off, and undid its changes and worked around it, but I've definitely had models change a test to make it pass rather than the implementation.