Mock, Stub, and Spy with Mockito
10th May 2021 by Aneesh Mistry

Mock, Stub and Spy

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.

YouTube video link


Share this post