r/ProgrammerHumor • • Oct 26 '26 • Bravo 6

instanceof Trend thisIsVeryTrue

Post image
27k Upvotes

1.6k comments sorted by

View all comments

Show parent comment

5

u/RelationshipLong9092 Oct 26 '26

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 Oct 27 '26

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.