Unit Testing

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

Clean Test Automation Monthly 10 / 2025

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 October 2025. Read More

Do We Need Unit Tests Anymore?

This blog post describes how automated testing tools have evolved during my software development career, identifies the reasons why integration, API, and end-to-end tests have become more popular, and explains how we can identify the tests which are most useful to us. Read More

Clean Test Automation Monthly 9 / 2024

The Clean Test Automation Monthly is a monthly blog post that highlights the best test automation content which I read during the current month. This blog post highlights the best test automation content of September 2024. Read More

How to Write Unit Tests Which Won't Tie Our Hands

This blog post describes why traditional unit tests can be painful to maintain, introduces a new technique that helps us to write unit tests which embrace change, and explains when we should use this new technique. Read More

Clean Test Automation Monthly 5 / 2024

The Clean Test Automation Monthly is a monthly blog post that highlights the best test automation content which I read during the current month. This blog post highlights the best test automation content of May 2024. Read More