On testing private methods
There is a mantra in software engineering that says you should not write test coverage for private methods (or functions). In this post I am going to explain why I think that this, as many other mantras, is not a universal truth, and sometimes it is totally fine to test private…