zlacker

[return to "GitHub Copilot available for JetBrains and Neovim"]
1. Spinna+ad[view] [source] 2021-10-27 18:42:37
>>orph+(OP)
How well can copilot write unit tests? This seems like an area where it could be really useful and actually improve software development practices.
◧◩
2. manque+Qe[view] [source] 2021-10-27 18:49:51
>>Spinna+ad
Writing tests for the sake of coverage is already practically useless which is what a lot of orgs do, This could maybe generate such tests. However it doesn't materially impact quality now, so not much difference if automated.

One of the main value props for writing meaningful unit tests, is it helps the developer think differently about the code he is writing tests for, and that improves quality of the code composition.

◧◩◪
3. Graffu+Vl[view] [source] 2021-10-27 19:23:53
>>manque+Qe
Why is that useless? Codebases I have worked on that had high code coverage requirements had very little bugs.

* It promotes actually looking at the code before considering it done

* It promotes refactoring

* It helps to prevent breaking changes for stuff that wasn't supposed to change

[go to top]