get-free-advice
Clara Icon MEET CLARA - THE AI BEHIND SMARTER SOFTWARE CHOICES
Get Started
/*
Loading...
*/
Mockito Reviews

User Rating

4.8/5 (Based on 22 Ratings)

Rating Distribution

  • Excellent

    81.8%
  • Very Good

    18.2%
  • Average

    0%
  • Poor

    0%
  • Terrible

    0%

Do You Use Mockito?

Write a Review
Reviews
VS

Verified User in Information Technology and Services

March 10, 2022 Source: G2.com
Mockito - One of the best mocking framework for unit testing
What do you like best about Mockito?
I like the most that it has huge stack overflow community to help you out. we can verify any interactions and stub our method calls. Using mockito in your existing project is the most easy job.
What do you dislike about Mockito?
I am not able to think of any dislike though i would say the more you explore the framework the more you will love working with mockito.
Recommendations to others considering Mockito?
I would recommend mockito framework to everyone who is involved in writing unit test cases as it would make job easy with respect to stubbing your objects.
What problems is Mockito solving and how is that benefiting you?
Mockito helped me in writing some simple and quick test cases. Most of the time we have external dependencies like databases or file interactions that we want to eliminate while unit testing so mockito is helpful at these times.
Read more
PS

Prathamesh S

June 27, 2021 Source: G2.com
Mocking framework used to write clean, simple and effective test cases.
What do you like best about Mockito?
One of the best frameworks out there to create Mock objects to enable testing.
What do you dislike about Mockito?
Decouples the testing logic from the implementation, making it easier to write clean test cases.
Recommendations to others considering Mockito?
What problems is Mockito solving and how is that benefiting you?
Ability to easily mock almost any object as per the requirements. No need to write mock objects on your own. Easiest solution out of the box to support such requirements.
Read more
OK

Olga K

February 18, 2021 Source: G2.com
Perfect tool for testing framework
What do you like best about Mockito?
It's possible to test a lot fo conditions and it's easy to read. Just need to know what's happening inside. Once you learn it, it's clear.
What do you dislike about Mockito?
When you want to debug inside, you actually need google help here. Not everything is obvious.
What problems is Mockito solving and how is that benefiting you?
Creating problems and different scenarios is what's needed in any TDD. We are heavily invested into testing all the bits and pieces of our code, and Mockito is being used all the time.
Read more
AR

Apurva R

January 20, 2021 Source: G2.com
Unit Testing made easy by Mockito
What do you like best about Mockito?
Mockito offers best platform for easy usage. I can easily mock an object if I need to test some methods of a class and not the whole. It ease to use made my coding life easy.
What do you dislike about Mockito?
It doesn't support mocking static and private methods.
What problems is Mockito solving and how is that benefiting you?
It helped me write quick test cases .
Read more
VS

Verified User in Financial Services

January 6, 2021 Source: G2.com
Mockito is in all Junit test.
What do you like best about Mockito?
Mocking underlaying database or service,
What do you dislike about Mockito?
mockMvc.perform(xxx)
Recommendations to others considering Mockito?
.andExpect(status().isOk())
What problems is Mockito solving and how is that benefiting you?
.andExpect(MockMvcResultMatchers.jsonPath("$.[0]")
Read more
SD

Subhodeep D

December 21, 2020 Source: G2.com
Ease of writing test cases and the ability to get test coverage to almost 100%
What do you like best about Mockito?
Ability of coverage of REST web services. This really helps if there is a complicated scenario in which multiple negative cases might fall into action. It simply makes the process much easier to debug.
What do you dislike about Mockito?
There is nothing I dislike about Mockito in particular. The use of the annotations driven architecture in Spring Boot makes the process of writing test cases much more easier.
Recommendations to others considering Mockito?
Just go through the basic documentation and you should be good to go.
What problems is Mockito solving and how is that benefiting you?
100% code coverage testing. Positive and negative test case scenarios can be covered. Being able to use Mockito makes it secure to an extent that the possible variations of any web service SOAP/Rest can be leveraged. The ability to mock the service layers or the view layers helps to easily validate complicated WSDL files too.
Read more
SB

Sahit B

December 19, 2020 Source: G2.com
Mockito is very useful, I love writing tests with mockito
What do you like best about Mockito?
.I can write very readable and maintained code with mockito
What do you dislike about Mockito?
Since I use mockito I didn't notice something I don't like
What problems is Mockito solving and how is that benefiting you?
Definitely unit testing
Read more
DA

Dhruva A

December 17, 2020 Source: G2.com
Mokito lets you write beautiful tests with a clean & simple API
What do you like best about Mockito?
Test code can be decoupled from the implementation.
What do you dislike about Mockito?
Creation of the mocks through annotations.
Recommendations to others considering Mockito?
Its ability to integrate easily with the existing projects makes it faster and easy to use.
What problems is Mockito solving and how is that benefiting you?
So far it has been so good for me. But I am sure any downsides will be greatly outnumbered by the features it has.
Read more
sa

shrawan a

December 16, 2020 Source: G2.com
The Mockito, an amazing library for for Unit Testing.
What do you like best about Mockito?
- Highly Active Community
What do you dislike about Mockito?
- Continuous improvement
Recommendations to others considering Mockito?
- Annotation support
What problems is Mockito solving and how is that benefiting you?
- Available for Multiple Platforms
Read more
PC

Pranav C

December 14, 2020 Source: G2.com
Simple, intuitive and a must have for unit testing in spring environment
What do you like best about Mockito?
It's easy to learn, easy to interpret, and minimal code needs to be written to setup a mock in mockito.
What do you dislike about Mockito?
Don't see any downsides, it's been perfect tool for the requirements I've faced in my experience.
What problems is Mockito solving and how is that benefiting you?
Writing test cases can be painful, one needs some tool to mock a functionality when writing a test case for a certain method, be it an external call or a complicated method which doesn't needs your attention right now, just mock it and write a test case for the method in hand.
Read more

We understand SaaS better

SaaSworthy helps stakeholders choose the right SaaS platform based on detailed product information, unbiased reviews, SW score and recommendations from the active community.

icon

Buyers

Looking for the right SaaS

We can help you choose the best SaaS for your specific requirements. Our in-house experts will assist you with their hand-picked recommendations.

icon

Makers

Want more customers?

Our experts will research about your product and list it on SaaSworthy for FREE.

Get Listed