Clean Test Automation Monthly 12 / 2025

The Clean Test Automation Monthly is a monthly blog post that shares interesting or useful test automation content which I consumed during the current month. This blog post is always published on the last day of the month.

Let's begin!

Table of Contents:

Test Design

Method-Based Approach for Readable E2E Tests Without Cucumber argues that using a properly named test method can be a better choice than using a BDD tool such as Cucumber.

Less, but better argues that we should focus more on doing things better and less on doing more things faster.

The Fallacy of Example-Based Testing argues that traditional example-based testing gives us a false sense of security and suggests two alternative techniques which help us to catch more bugs.

The AI Efficiency Trap: Why I Built a Tool to Tell Cursor What to Test explains how AI can generate many tests that boost code coverage statistics and ignore complex use cases because the code is "too hard to test". Thus, the author decided to write a pytest plugin which helps the AI agent to write more comprehensive tests.

On getting started with mutation testing provides a nice high-level introduction to mutation testing.

Backend

Introduction to Testing Micronaut With JUnit 5 describes how we can write our first automated tests for a Micronaut application with JUnit Jupiter.

A Guide to @ClassTemplate in Junit 5 explains how we can run a test class multiple times with different configurations.

Stepping down as maintainer after 10 years identifies three main reasons why Tim van der Lippe is stepping down as the maintainer of Mockito (there is a Reddit discussion about this as well).

Conditionally Ignore Tests in TestNG describes two different methods that allow us to programmatically ignore or run a test with TestNG.

UI / End-to-End

Playwright Pro Tip: Stop Digging! Auto-Attach API Request/Response Data to Your HTML Reports explains how we can attach HTTP request and response data to our Playwright test reports.

Turn Your Playwright Traces Into Living Test Documentation describes how we can use Playwright traces for generating a test documentation that's always up-to-date.

5 Essential cURL Commands for API Testing introduces five cURL commands which make API testing much easier.

Building a Custom API Assertion Library on Top of Playwright describes how we can write reusable assertions that help us to build a robust test suite that's easy read, write, and maintain.

0 comments… add one

Leave a Reply