3 ms·
> I'm convinced that unit tests don't usually find bugs. At work, I've rejected many merge requests with the comment "this unit test is equivalent to verifying
by knodi123 9y ago
> I'm convinced that unit tests don't usually find bugs.
At work, I've rejected many merge requests with the comment "this unit test is equivalent to verifying a checksum of the method source". It's so frustrating that people still think it's necessary to write things like this literally real example:
expect(User::MAX_PASSWORD_RESET_ATTEMPTS).to eq(3)
- vlovich123 9y agoThat's an education problem which is not an intractable problem to solve over time by mentoring the code author.