How do you unit test private methods?

Posted by Eric Labashosky on Stack Overflow See other posts from Stack Overflow or by Eric Labashosky
Published on 2008-10-30T15:49:12Z Indexed on 2010/05/01 17:27 UTC
Read the original article Hit count: 148

Filed under:
|
|
|

I'm building a class library that will have some public & private methods. I want to be able to unit test the private methods (mostly while developing, but also it could be useful for future refactoring).

What is the best way to do this?

© Stack Overflow or respective owner

Related posts about unit-testing

Related posts about .NET