Tech
AI-Generated Tests Can Make Coding Agents Worse. Here's How to Check Yours
Originally published on sergei-parfenov.com .
A bug fix can make every new test pass and still introduce a regression. Here is a deliberately constructed Python example, checked locally without an LLM.
An order filter has three requirements:
Omit the filter, or pass None : return all orders.
Pass an empty list: return no orders.
Pass a list of statuses: return only matching orders.
The reported bug is that omitting the filter returns nothing. This proposed fix looks reason...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to