Unit testing private helper methods

added by DotNetKicks
9/13/2021 3:05:39 PM

586 Views

Evolving a private helper method, guided by tests. A frequently asked question about unit testing and test-driven development (TDD) is how to test private helper methods. I've already attempted to answer that question: through the public API , but a recent comment to a Stack Overflow question made me realise that I've failed to supply a code example.


0 comments