Testing private methods

Like many others in TDD, I have a dilemma with testing private methods. This “rather old” article sheds some options to do so. Since its so old, it is likely that current frameworks would have support of some form.

Remember also that such dilemmas may hint at a cohesiveness design problem.

Along the way, I stumbled onto this refactoring site.

Leave a Reply

Your email address will not be published. Required fields are marked *