Mockito tutorial for beginners: Overview and basic concepts

Опубликовано: 04 Февраль 2026
на канале: Craft Of Programming
16,774
143

In this video tutorial of Mockito for beginners you will learn the fundamental concepts related to interaction based tests.

The following topics are covered:

1) Definition of interaction based tests;
2) Properties of good interaction based tests;
3) "Don'ts" (or bad practices) to avoid when writing interaction based tests;
4) Test doubles definition (dummy, fake, stub, mock, spy);
5) When to write interaction based tests;
6) Why use the Mockito mocking framework (as opposed to say EasyMock or TestNg for instance).

Main web site: http://www.craftofprogramming.com
facebook:   / craftofprogramming.com  
twitter:   / craftofprogramming.com