you are viewing a single comment's thread
view the rest of the comments
[–] 7 points 3 years ago (3 children)

Copilot Chat can write some pretty good unit tests now

  • source
  • hideshow 3 child comments
  • [–] 13 points 3 years ago (2 children)

    A good unit test is an expression of the intent of the programmer that wrote the unit of code. How would Copilot know what your intent was?

    What Copilot does is to test exactly what the code is currently doing... which kinda defeats the purpose.

    But it does raise a good point, because that's usually exactly what teams are asked to do (especially when there's a high coverage requirement). It's completely pointless busywork, but that's what makes it perfect for Copilot.

  • source
  • parent
  • hideshow 2 child comments