News for hackers. Stuff that matters.
Re:GitHub Copilot for individuals available without waitlist... by wronglyprepaid on Tuesday June 21, 2022 @02:45PM (#31827520)
> It's excellent for quickly writing slightly repetitive test cases;

Ever considered parameterization?

Re:GitHub Copilot for individuals available without waitlist... by msoad on Tuesday June 21, 2022 @03:30PM (#31828098)
Then you have harder to reason about test that can fail in its complex parameter matrix. I think it's okay for test to be a little bit repetitive
Re:GitHub Copilot for individuals available without waitlist... by wronglyprepaid on Wednesday June 22, 2022 @01:57AM (#31832526)
> Then you have harder to reason about test that can fail in its complex parameter matrix.

Can you give an example of tests that would be better with repetition than parameterization?

Re:GitHub Copilot for individuals available without waitlist... by Dayshine on Tuesday June 21, 2022 @02:56PM (#31827675)
Yes, it writes the different cases out for you. The arguments...