We used a helper class that uses reflection to load and call methods on inner classes. It is also possible to change accessibility at compile time using the DEBUG symbol, for example
#if DEBUG public #else internal #endif class MyInternalClass { ... }
However, Esko Luontola's answer is more correct, since it is more important than functionality or business requirements. It's easy to focus too much on code coverage rather than testing important areas of risk.
bstoney Mar 03 '09 at 12:15 2009-03-03 12:15
source share