JUnit 5

Writing Unit Tests for "Normal" Controllers With Spring MockMvc: Standalone Configuration

This blog post describes how we can configure the system under test by using the standalone configuration of Spring MockMvc when we are writing unit tests for view-rendering Spring MVC controllers. We will learn how we can get the required dependencies and remove duplicate configuration code from our test classes by using both object mother and HTTP request builder classes. Read More

Clean Test Automation Monthly 9 / 2026

The Clean Test Automation Monthly is a monthly blog post that highlights interesting or useful test automation content which I read during the current month. This blog post shares 13 interesting or useful blog posts which I read during September 2026. Read More

Clean Test Automation Monthly 6 / 2026

The Clean Test Automation Monthly is a monthly blog post that highlights interesting or useful test automation content which I read during the current month. This blog post shares 13 interesting or useful blog posts which I read during June 2026. Read More

Clean Test Automation Monthly 5 / 2026

The Clean Test Automation Monthly is a monthly blog post that highlights interesting or useful test automation content which I read during the current month. This blog post shares 14 interesting or useful blog posts which I read during May 2026. Read More

Getting Started With MockK: The Setup

This blog post describes how we can configure the system under test and replace its dependencies with mocks when we are writing unit tests for a Kotlin application by using JUnit Jupiter and MockK. We will learn to get the required dependencies and configure the system under test by using both manual and extension-based configuration. Read More

Get practical tips and tutorials on test automation, Spring, and software development in your inbox. You’ll also never miss a new blog post. You can unsubscribe at any time.

My privacy policy identifies the information which I collect if you subscribe my email newsletter and describes how I use the collected information.