I'll write unit tests for functions containing complicated logic that I can't quickly evaluate correctness. This probably amounts to something like 0.01% test coverage.
As a project unfolds, I'll write proper tests for things that I'm terrified of breaking. For example, if I was changing my charging algorithm, I'd probably put proper test coverage around that segment of my codebase.
Almost none.
I'll write unit tests for functions containing complicated logic that I can't quickly evaluate correctness. This probably amounts to something like 0.01% test coverage.
As a project unfolds, I'll write proper tests for things that I'm terrified of breaking. For example, if I was changing my charging algorithm, I'd probably put proper test coverage around that segment of my codebase.