this post was submitted on 30 Sep 2025
1089 points (98.7% liked)
Technology
75682 readers
3207 users here now
This is a most excellent place for technology news and articles.
Our Rules
- Follow the lemmy.world rules.
- Only tech related news or articles.
- Be excellent to each other!
- Mod approved content bots can post up to 10 articles per day.
- Threads asking for personal tech support may be deleted.
- Politics threads may be removed.
- No memes allowed as posts, OK to post as comments.
- Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
- Check for duplicates before posting, duplicates may be removed
- Accounts 7 days and younger will have their posts automatically removed.
Approved Bots
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
One of the guys at my old job submitted a PR with tests that basically just mocked everything, tested nothing. Like,
Except for a few dozen lines, with names that made it look like they were doing useful.
He used AI to generate them, of course. Pretty useless.
We have had guys submit tests like that, long before AI was a thing.
At least in those situations, the person writing the tests knows they're not testing anything...
Some do, some don't, but more importantly: most just don't care.
I had a tester wander into a set of edge cases which weren't 100% properly handled and their first reaction was "gee, maybe I didn't see that, it sounds like I'm going to have a lot more work because I did."
True, I do feel mocked by this code.