4 ms·
Thanks for sharing! I'll start putting everything here in practice immediately. Some of these are already widely practiced at the company I work for, though, so
by VulgarExigency 4y ago
Thanks for sharing! I'll start putting everything here in practice immediately. Some of these are already widely practiced at the company I work for, though, so I probably won't stand out too much.
- JCharante 4y ago> Mock function calls until no original code runs. This one hurt personally. I didn't write it, we maintain it, but we have no time to go back and write real tests.
- VulgarExigency 4y agoAs I've become more experienced as a programmer, I've grown to hate unit tests that rely on mocks. They don't test a damn thing and they calcify code by making it a chore to update, since you have to update all the useless tests that don't do anything too.