Testing / Junit Interview questions III
What is Mockito?
Mockito is a popular mock framework that can be used in conjunction with JUnit. Mockito allows you to create and configure mock/dummy objects. Mockito greatly simplifies the development of tests for Java classes with external dependencies.
Mockito can be used to mock interfaces so that a dummy functionality can be added to a mock interface that can be used in unit testing.
More Related questions...