Verified User in Financial Services
CF
Verified User in Financial Services
Mid-Market (51-1000 emp.)
"I have been using Mockito for last 8+ years in JEE development. Mockito is in all Junit test."
5/5
What do you like best about Mockito?

Mocking underlaying database or service, Review collected by and hosted on G2.com.

What do you dislike about Mockito?

mockMvc.perform(xxx)

.andExpect(status().isOk())

.andExpect(MockMvcResultMatchers.jsonPath("$.[0]")

JsonPth matcher syntax is very hard that I dont like. Review collected by and hosted on G2.com.

Verified User in Hospital & Health Care
UH
Verified User in Hospital & Health Care
Enterprise (> 1000 emp.)
"A MUST HAVE TOOL FOR DEVELOPERS TO DELIVER QUALITY CODE"
5/5
What do you like best about Mockito?

Assertions and other mocking features really help in a development environment where you can not execute black-box tests while it's in the development phase. It helps deliver quality code. Review collected by and hosted on G2.com.

What do you dislike about Mockito?

Version conflicts. Some of the mockito versions have compatibility issues and are not robust. Review collected by and hosted on G2.com.

Abhimanu R.
AR
Abhimanu R.
Data Engineer
Small-Business (50 or fewer emp.)
"Awesome to use and have ease of implementation. Helps you to write bug free code."
4/5
What do you like best about Mockito?

Ease of implementation. And writing test case to write/deploy bug free code. Ease to debug. Review collected by and hosted on G2.com.

What do you dislike about Mockito?

There may are certain things like mocking static methods. Review collected by and hosted on G2.com.

Abdul Ahad A.
AA
Abdul Ahad A.
Software Engineer
Small-Business (50 or fewer emp.)
Business partner of the seller or seller's competitor, not included in G2 scores.
"Mockito is easy to use and integrate into framewoks and covers all of the flows"
5/5
What do you like best about Mockito?

Ability to mock auth to execute test cases as a loged in user Review collected by and hosted on G2.com.

What do you dislike about Mockito?

The documentation can be improved more for better understanding Review collected by and hosted on G2.com.

AJ
Akshay J.
Software Engineer
Enterprise (> 1000 emp.)
"Great tool for java mocking for unit test"
5/5
What do you like best about Mockito?

Power to mock scenarios and data for your code to write unit test. Review collected by and hosted on G2.com.

What do you dislike about Mockito?

There is a small learning curve for a new developer. But once learned very easy to use and develop. Review collected by and hosted on G2.com.

Verified User in Education Management
UE
Verified User in Education Management
Mid-Market (51-1000 emp.)
"Mockito test coverage"
4.5/5
What do you like best about Mockito?

After using mockito we improved junit coverage percentage in projects. Review collected by and hosted on G2.com.

What do you dislike about Mockito?

By using mockito writing junit for Static methods. Review collected by and hosted on G2.com.

Simon C.
SC
Simon C.
developer
Small-Business (50 or fewer emp.)
Business partner of the seller or seller's competitor, not included in G2 scores.
"The good tool for mocking or drinking it ;)"
4.5/5
What do you like best about Mockito?

I like it the best as it's easy to use and the documentation is easy to ready and easy to understand. Review collected by and hosted on G2.com.

What do you dislike about Mockito?

I don't have anything on top of my head right now what I would dislike. Review collected by and hosted on G2.com.

Verified User in Information Technology and Services
UI
Verified User in Information Technology and Services
Small-Business (50 or fewer emp.)
"It's a very useful tool"
4/5
What do you like best about Mockito?

No need to write mock objects

Supports annotations Review collected by and hosted on G2.com.

What do you dislike about Mockito?

Additional learning of mockito technology Review collected by and hosted on G2.com.

Verified User in Entertainment
UE
Verified User in Entertainment
Small-Business (50 or fewer emp.)
"Mockito is a great Unit testing tool and our team uses it for unit testing and it works very good."
3.5/5
What do you like best about Mockito?

Refactoring Safe part is the best, it allows to rewrite the interfaces without hampering the running code. Review collected by and hosted on G2.com.

What do you dislike about Mockito?

noting much as of now. would surely come back later and write something here Review collected by and hosted on G2.com.

Verified User in E-Learning
UE
Verified User in E-Learning
Mid-Market (51-1000 emp.)
"It is good mocking framework"
4.5/5
What do you like best about Mockito?

It is easy to use and it also provides some annotations for reducing boilerplate code. Review collected by and hosted on G2.com.

What do you dislike about Mockito?

mockito's inability to mock static methods. Review collected by and hosted on G2.com.