4 ms·
> Writing tests can be a drag. It’s really a low-risk proposition to have generated code attempt it. If Copilot can't write the correct code in the first place
by IncRnd 5y ago
> Writing tests can be a drag. It’s really a low-risk proposition to have generated code attempt it.
If Copilot can't write the correct code in the first place, you really shouldn't expect a proper test to be written by Copilot.
> Code needs to be correct, secure, performant, and readable.
Most tests should also have at least three of those attributes. Nobody actually wants their tests to be incorrect, slow, or impossible to understand or modify.