Get free YouTube views, likes and subscribers
Get Free YouTube Subscribers, Views and Likes

Mocks Stubs and Spies with Mockito - JUnit Tutorial

Follow
Aneesh Mistry

Learn about the differences between a mock, a stub, and a spy for the purposes of creating test doubles with the Mockito framework.
In this video, I have used an example to demonstrate when we would want to use each of the different test doubles and the unique benefits they can offer when automation testing.


The source code from this video is available on GitHub: https://github.com/4neesh/YouTubeCha...


Comment, like and subscribe for more content on Java and software engineering.

Visit my website to also see my blogs: https://aneesh.co.uk

posted by carelhkn