Developers skip tests for two reasons: no time, and they believe they will remember how the code works. Both are wrong.
Every untested function is a liability that compounds. Six months later a developer changes that function without knowing what it is supposed to do, ships to production, causes an incident costing more hours than the original test would have taken.
I enforce test coverage on all financial logic and authentication paths as non-negotiable.
Write the test. It is the cheapest insurance you will ever buy.
— Dick Bassey | DevDick | 2021