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 Sillicon (M1, M2, M3, 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

Run Java Tests With Maven Silently (Only Log on Failure)

Philip Riecks 

When running our Java tests with Maven they usually produce a lot of noise in the console. While this log output can help understand test failures, it's typically

Read More

AWS Lambda with Kotlin and Spring Cloud Function

Philip Riecks 

AWS Lambda is a great technology to get your code up and running in a matter of minutes. I'm heavily using AWS Lambda for various automation and marketing

Read More

Testing Spring Boot Applications: Five Common Pitfalls

Philip Riecks 

Learning how to test a Spring Boot application effectively can be a hurdle, especially for newcomers. Without a basic knowledge of Spring's dependency injection mechanism and what Spring

Read More

What the Heck Is the SpringExtension Used For?

Philip Riecks 

I've seen a lot of confusion recently about the SpringExtension. When failing to get the context configuration for a test right, some developers randomly throw @ExtendWith(SpringExtension.class) to their

Read More

Maven Setup For Testing Java Applications

Philip Riecks 

Starting with a new programming language is always exciting. However, it can be overwhelming as we have to get comfortable with the language, the tools, conventions, and the

Read More