| ▲ | jihadjihad 2 days ago | |||||||
Among many other possible examples, here are a few [0] from Ruby that I've seen in the wild before LLMs, and still see today spat out by LLMs. 0: https://www.codewithjason.com/examples-pointless-rspec-tests... | ||||||||
| ▲ | simonw 2 days ago | parent [-] | |||||||
I do see agents pop out tests that look like this occasionally:
If I catch them I tell them not to and they remove it again, but a few do end up slipping through.I'm not sure that they're particularly harmful any more though. It used to be that they added extra weight to your test suite, meaning when you make changes you have to update pointless tests. But if the agent is updating the pointless tests for you I can afford a little bit of unnecessary testing bloat. | ||||||||
| ||||||||