Mocks, Stubs and Spies with Mockito - JUnit Tutorial

Aneesh Mistry May 10, 2021
Video Thumbnail

About

No channel description available.

Video Description

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/YouTube-Channel/tree/main/DifferentTestDoubles/src Comment, like and subscribe for more content on Java and software engineering. Visit my website to also see my blogs: https://aneesh.co.uk

You May Also Like