Mockito tutorial for beginners: Overview and basic concepts

preview_player
Показать описание
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).

Рекомендации по теме
Комментарии
Автор

Thanks for explaining Mockito so well. This will be so helpful in my job.

michaelmihov
Автор

Thanks for your video. It helped me alot with a presentation I had to make for my Software Engineering graduation.
Regards from Brazil :)

NyvekBr
Автор

Great overview of the fundamentals around Mockito. Thanks (just watch out for the focus in/out on your camera :) )

bithack
Автор

This looks like the original OO paradigm intent in which objects are only sending messages to each other, in contrast to modern ORM influenced style in which state is extracted from the object. But later you are saying something that is not quite correct. Value objects can have behavior, but mostly they don't.
Also, they don't HAVE data, they ARE data - that is why they are called VALUE objects. The reason, why we shouldn't mock them, is that they are immutable, predictable and We can use them directly.

kokoloism
Автор

How can I access your private videos on mockito?

HinduBhaktiSongsU