Re:I tested Copilot in an existing open-source codebase with...
by h0l0cube on Monday August 16, 2021 @05:02AM
(#28196194)
The central thesis of this diatribe is that in order to have a 'complete' unit^ test, you need something at least as complicated as the original code:
https://rbcs-us.com/documents/Why-Most-Unit-Testing-is-Waste...
^ where the 'unit' is basically a function. i.e., to test a function fully, write a test as complicated as the function
Seems to me that once you can go either way then you just proved the other redundant.