Saturday, August 26, 2017

Sunday, August 6, 2017

Mockito Framework

Mockito is a mocking framework, it is widely used the in unit testing JAVA application.

Unit testing is used to maintain & improve the quality of product through unit testing and test-driven development

Mocking is the process of testing the functionality of class in isolation.

Mocking does not require database connection or properties file read or file server read to test functionality. A Mock object returns some dummy data corresponding to some dummy input.

Mock object are nothing but proxy for actual implementation