Tuesday, 17 September 2013

How to check a method executed in the unit test context?

How to check a method executed in the unit test context?

I am trying to add some features to the legacy libraries and plan to make
it testable.
I want to limit some methods allowed call in the testing context, like
change the global system configurations. Because some changes are
dangerous for production, to limit the accessablitiy is important.
I use the junit4 to test my project, any suggestions for it?

No comments:

Post a Comment