Parallelize Only Java Unit Tests with JUnit 5 and Maven

Philip Riecks 

The more our project and test suite grow, the longer the feedback loop becomes. Fortunately, there are techniques available to speed up our build time. One of such

Read More

Test Thymeleaf Controller Endpoints with Spring Boot and MockMvc

Philip Riecks 

Spring Boot offers excellent testing support for Spring Web MVC controllers. With the help of @WebMvcTest and MockMvc, we can verify our controller endpoints in isolation. This includes

Read More

Spring Boot Testing: MockMvc vs. WebTestClient vs. TestRestTemplate

Philip Riecks 

Spring offers various tools for testing our controller endpoints: MockMvc, WebTestClient, and the TestRestTemplate. While all three candidates serve a similar goal – invoking our HTTP endpoints and

Read More

Amazon SQS Listener Testing with @SqsTest (Spring Cloud AWS)

Philip Riecks 

Similar to a REST API, an Amazon SQS listener is an entry point to our application. While we can easily test our Spring Web MVC controller endpoints either

Read More

Remote Java Developer Technical Hardware and Software Setup

Philip Riecks 

This article describes my working setup (hardware and software) as a remote freelance Java developer. I've been working from either home, co-working places, or cafes for almost two

Read More

Spring Boot Test Spring Web MVC HandlerInterceptor

Philip Riecks 

This article showcases how to test a Spring Web MVC HandlerInterceptor using JUnit 5 and Spring Boot. We'll discuss the value of unit tests to test a HandlerInterceptor

Read More

LaunchDarkly Java Testing and Local Development Hints

Philip Riecks 

Feature flags offer a solution to decouple the deployment of a feature from its release. This can help us continuously deploy new changes without releasing features immediately to

Read More

Java Development on an Apple M1 (ARM64)

Philip Riecks 

It's been almost a year since I've bought the MacBook Pro M1 (arm64 processor) for my daily Java development as a freelance consultant. I had my first contact

Read More

Automatic Java Code Migration with OpenRewrite (Mockito Example)

Philip Riecks 

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

Read More

Write Gatling Performance Tests with Java

Philip Riecks 

Gatling is a performance testing tool to carry out load tests on applications. Gatling can spawn thousands of virtual users/clients over a single machine as it is built

Read More