Header banner
Revain logoHome Page
Ashton Dahmer photo
1 Level
1338 Review
25 Karma

Review on Mockito by Ashton Dahmer

Revainrating 4 out of 5

Test automation tool for Mobile and Desktop applications

I like that it allows me to write code without having any dependencies, which makes my life easier when writing test cases with other frameworks or libraries (like JUnit).

img 1 attached to Mockito review by Ashton Dahmer

It's also easy enough if you want just some basic stubbing of methods/properties - but there is no way out from this dependency hell once we start using more advanced features such as spying etc., so be sure about what exactly do need before jumping into testing your project! We are solving problems related to our mobile application by mocking its API calls made through third party SDKs used during development phase.

Pros
  • Being able tto mock objects
  • Simple usage model for beginners.
  • Good documentation available online explaining how different things work in depth at least compared against alternatives eith similar functionalities; not much information can really beat Moxe btw.It works great most times though :)
Cons
  • Not well known yet among developers who aren't familiar wth Java
  • Somewhat complex syntax