a test suite three quarters the size of the product is a lot, but what does it check? if the same agent writes the code and the tests, the tests mostly pass because they were written to pass. i run a few agents on my side projects, and i ended up giving reviews to a separate agent that didn't write the code, and testing each feature on the real app before calling it done
Agree that agents can write performative tests that don't mean much. When I run my test suites after making updates typically I do find some regressions, often in the solver kernel or the dataflow. The agents do miss things; the approach I've taken is specifically enforcing tests anytime I find a bug and including tests to confirm intent in initial implementation plan.
You have to give the baseline test scenarios and review the test cases. Then have specific instructions to not modify test cases without authorization. Once the TCs are written and reviewed, you create a file which contain the hashes of the TC files. You can detect if the TC files were modified by checking the hash after the test runs.
the line about one engineer being able to slow the whole thing down with a few bad tests is the part i'd underline. i co-founded a test platform team at my last company, and in my experience getting ci fast was the easy part, keeping it fast after a few months of everyone adding tests was the hard part.
reply