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 is always published on the last day of the month.
Let's begin!
Testcontainers Best Practices is an excellent blog post that highlights nine best practices which we should follow when we are writing tests which use Testcontainers.
Avoid mocking the ObjectMapper! describes why we shouldn't mock the ObjectMapper when we are writing tests for code that uses the ObjectMapper. First, I agree that we should never replace the ObjectMapper with a mock. Second, I cannot understand why someone thinks that mocking the ObjectMapper is a good idea.
The Best Tools for Writing Integration Tests for Spring Boot Web Applications is my blog post which highlights six testing tools which we should use when we are writing integration tests for Spring Boot web applications.
The Big TDD Misunderstanding is an excellent blog post which explains why developers tend to overuse test doubles (mocks) and provides four tips that help us to write better tests.
Testing Java Apps on Kubernetes with Testkube describes how we can write automated tests which are run inside the Kubernetes cluster.
[Unit] Testing Supabase in Kotlin using Test Containers is an interesting blog post that identifies five techniques which we can use when we have to write tests for code which uses Supabase and explains why the author thinks that we should use Docker compose and Testcontainers.
What’s new with Testcontainers in Spring Boot 3.2.0 highlights two new features which were added to Spring Boot's Testcontainers integration in Spring Boot 3.2.0.