DEV Community

Juan Ramos
Juan Ramos

Posted on • Originally published at github.com

Mockito for noobies

Ladies and gentleman, after some months procrastinating, watching all Netflix series available in the internet I finally make this tutorial about Mockito. A really nice tool for unit or functional testing. Be free to check it out:

Text snippet:

"For example: If we have an object, it is not convenient to query that database whenever we need to test a particular method or employ one of those methods to perform some mathematical operation from the cloud service. So, to solve this, we are left with two options: either we re-implement the method that receives that object for testing2

https://github.com/ptjuanramos/java-research-study/tree/master/TestingJUnitMockito

Top comments (0)