4 ms·
This is all there is to it. The dogma around not testing private methods is entirely unconvincing. I have some very complex private methods that it’s just easie
by appplication 3y ago
This is all there is to it. The dogma around not testing private methods is entirely unconvincing. I have some very complex private methods that it’s just easier to write some thorough unit tests for, and it guarantees the contract my public methods rely on. I really do not see why that is controversial.