Postponing a (major) dependency update for too long can harm our productivity in the long run as we might not be able

Read More

Yet another blog post about a Mockito feature that we should rarely use: Mockito deep stubs. With this article, we'll explore how

Read More

Starting with Mockito version 3.5.0, we can now mock Java constructors with Mockito. This allows us to return a mock from every

Read More

When you start testing your Spring Boot application sooner or later you'll stumble over @Mock and @MockBean. Both annotations create mock objects

Read More

Want to start a religious discussion? Start asking your teammates whether or not you should mock static method calls. It's debatable if

Read More