Testing methods declared private
1 posts in topic
Flat View  Flat View

Posted By:   Peter_Wilkins
Posted On:   Monday, July 29, 2002 02:50 PM

The methods that I most want to test are often the ones I want to declare as private. That makes them inaccessible to my testing harness.

I could be designing my classes improperly for use with JUnit or perhaps I'm setting JUnit up incorrectly. Could anyone offer me so guidance on this issue.


Re: Testing methods declared private

Posted By:   Anonymous  
Posted On:   Monday, July 29, 2002 11:25 PM

A search for "test private" found the following discussion: http://www.jguru.com/forums/view.jsp?EID=841668
About | Sitemap | Contact