Most coding agents already incorporate tests into their workflows. They will run tests after making any changes and if the tests fail they can automatically try to correct whatever was broken. So if you have a good, comprehensive test set that will reign them in.
Of course, they'll also write the tests too if you ask...
The unit tests I use are written by Claude Opus, and regularly reviewed by ChatGPT and Fable. I only focus on the QA. My time to market is strictly limited and it's not a hobby project.
View all comments
Show parent comment
2
u/protocod Oct 04 '26
I understand so now you're no longer writing a single line of code.
How about unit and functional tests ? Are those written by AI too ?
I would think Test Driven Development might be a good way to drive the agent to implement the specs as intended.