Posted on Aug 11
The best test I know for agent written code: delete the implementation and see if the tests fail. If they still pass, they were never testing anything.
Agents love writing tests that only check the code runs and not that it is right. Add one rule to your rules file. Make every test prove a behavior, not an implementation detail.
That single rule has caught more broken agent code than anything else I have tried.
Top comments (0)
Subscribe
Templates let you quickly answer FAQs or store snippets for re-use.
Code of Conduct • Report abuse
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment’s permalink.
Hide child comments as well
For further actions, you may consider blocking this person and/or reporting abuse
답글 남기기
댓글을 달기 위해서는 로그인해야합니다.