If the same entity is both writing the code and testing the code it’s not great. Even though the code in this instance is there to support testing, it’s still being crafted by an ai that may one day also be expanded to create the tests themselves. It’s that scenario I’m concerned about. It’s part of the reason we do more than just unit test.
Independence issue?
If the same entity is both writing the code and testing the code it’s not great. Even though the code in this instance is there to support testing, it’s still being crafted by an ai that may one day also be expanded to create the tests themselves. It’s that scenario I’m concerned about. It’s part of the reason we do more than just unit test.
Hm, but isn’t usually the same developer who writes the code and the test?
Why would it be an issue if an AI does the same?
Developers write and execute the unit test, and perhaps component test. Once you get past that to system testing it should be someone independent.