Test Theater

This is an interesting framing about agents writing meaningless tests: Unless you are very clear and careful, AI coding assistants at the moment will look at your implementation and write tests that confirm your code does what it already does. They&rsquo;re essentially saying: &ldquo;This function returns X when given Y, so I&rsquo;ll write a test to confirm it returns X when given Y.&rdquo; This…