New LLM prompt: if the average boardroom in Palo Alto would struggle to snort the same number of lines as your patch, then don’t.
New LLM prompt: if the average boardroom in Palo Alto would struggle to snort the same number of lines as your patch, then don’t.
given that 93% are new tests, it’s not as bad as it sounds, however, it is essentially what should have been 20 separate PRs and is rude to jam them all into one PR (I’ve worked with people who put a month of work into one PR before)
This is completely backwards. Tests are code that have to be maintained, just like the runtime logic. And you should trust them at least as much as you trust the main code (more, actually). You should not trust them to a roll of the dice.
The most frustrating part of $WORK code is these people who shut off the engineering part of their brain for test code and just write miles and miles of awful copy-paste test cases rather than applying the skills they’re supposed to have. I frequently find some very nice abstraction boundary that the original author missed because I’m refactoring nightmare tests and then I get to delete a bunch of code and make tests better.
Absolutely agree.
PRs should be small to medium sized and pretty modular. Adding a ton of new tests for different things in one PR is dumb.