Post

copilot (claude sonnet 4) spent 15 mins writing failing unit tests and modifying irrelevant existing code. i threw it all to trash, writing the tests from scratch myself now. junior devs may not know everything, but they at least know what they don't know. and that makes a whole lot of difference.

10 reposts54 likes

I set it loose to write tests and went for a coffee. Came back and it had 1. Added a clear state function to the module being tested, and 2. eventually gave up and just hard-coded the result it expected as the return value of the methods being tested At least it gave me a laugh for the day