Re:Don’t mock what you don’t own
by icedchai on Wednesday June 22, 2022 @02:34PM
(#31839968)
At a previous company, someone established a "rule" that every "new function or method" needed its own test. Unless you lucked out with a lax reviewer (like me!) , your code would not pass review if this wasn't followed. Meanwhile, there were basically zero integration or e2e tests. People spent more time adding and maintaining useless tests...
[ Parent
| on HN ]
There are no comments on this comment yet.