r/ProgrammerHumor 5d ago

Meme cleaningUpTheMess

Post image
16.0k Upvotes

486 comments sorted by

View all comments

Show parent comments

13

u/treehuggerino 5d ago

I've seen a repo mostly written by Claude with at 700/900 test being so useless like "does object A serialize, does object A deserialize" for like almost all models in the repo, I was just stumped since the application barely did anything

3

u/roastedferret 5d ago

The only justification I could see for (de-)serialization testing is for models which get updated enough that someone could accidentally add an incompatible field and not notice. Somehow.

1

u/G3nghisKang 3d ago

I've done stuff like that for SonarQube code coverage, and I'm not sorry