Comment Re:Good thing (Score 1) 86
Tests are as important as the code they test. It's just as essential that they be correct. If you're going to have AI write your tests, you need to review them, understand them, and verify that they really test what you intended. Otherwise you're likely to get a lot of useless tests that report success even when the code is wrong.
I'll sometimes intentionally break a piece of code just so I can see the test fail. I need to prove to myself that the test really does fail if the thing it's testing is wrong.
Efficiency isn't really important for unit tests.
Try saying that when you have a big code base with thousands of tests, and it takes an hour to run them on every commit. Efficiency is very important for tests.