News for hackers. Stuff that matters.
Re:Still no consensus on testing private methods by nisegami on Thursday March 10, 2022 @09:44AM (#30627455)
I think you misunderstand. GP is recommending that coverage of private methods be achieved by testing their public consumers. If you can't test part of a private method through a public consumer, then that's a sign that those unused code branches might not be necessary.

There are no comments on this comment yet.