Reputation
Top tag
Next privilege 200 Rep.
See reduced ads
Badges
2
Newest
 Supporter
Impact
0 people reached

  • 0 posts edited
  • 0 helpful flags
  • 2 votes cast
Dec
15
comment How do you unit test private methods?
I don't remove them. Yes. I deploy code that is never executed at run time. It really is that bad.
Jun
6
awarded  Supporter
Apr
11
comment How do you unit test private methods?
The test class is an inner class of the class you want to test. If you don't want those inner classes to be deployed you can just delete the *Test.class files from your package.
Apr
11
awarded  Editor
Apr
11
revised How do you unit test private methods?
expand answer
Apr
10
answered How do you unit test private methods?