||Subverting Java Access Protection for Unit Testing|
|Subject:||Good reading about Reflection API but not a good solution for Unit testing|
This post can be considered as good reading about Reflection API. But in really the intent of Unit Testing should be focused to the testing on the actual code written by the developer.
As test cases are written by the developer who has knowledge of the functionality of the class (by reading the JavaDoc comments) so Test cases should limit themselves to the methods available in the class.
Good reading about Reflection API but not a good solution for Unit testing
2007-03-07 14:41:04 drmpf [View]