Session

How To Be A (Spring) Mock Star

Everybody does mocking, right? But who's doing mocking well?
Well, I'm here to help you be a mock star.

In this session, I'm going deep into mocking in Spring testing, what we want to achieve from it, and how to do it effectively.
I'm going to start from unit testing bean-dependent components, and explain Spring's bean life-cycle and how it applies to mocks. I'll discuss testability aspects of using Spring-based architecture, so we can mock dependencies, and finish up with mocking API calls with, and without a real database.

Tools, like Mockito makes mocking easy, but they only tell you how to use them in basic scenarios. If you want to use them effectively with Spring, you're invited to dive in with us.
We will. We will mock you.

Gil Zilberfeld

CTO, TestinGil

Tel Aviv, Israel

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top