When working for the first time with Spring, you might encounter several no qualifying bean exceptions when you try to start your

Read More

Similar to testing our web layer in isolation with @WebMvcTest, Spring Boot provides a convenient way to test our Spring Boot JPA

Read More

Starting with Spring Framework version 5.3 (part of Spring Boot since version 2.4.0) you can perform requests with the WebTestClient against MockMvc.

Read More

When you start testing your Spring Boot application sooner or later you'll stumble over @Mock and @MockBean. Both annotations create mock objects

Read More

Did you ever found yourself saying: I usually ignore testing my Spring Web MVC controller endpoints because the security setup is tricky.

Read More

Spring Boot offers great support to test different slices (web, database, etc.) of your application. This allows you to write tests for

Read More

Recently I introduced Testcontainers for a Kotlin based Spring Boot application. I jumped right into the setup and immediately ran into an

Read More

Nothing is more tiresome than long feedback cycles due to slow builds. I've recently invested one day to improve the integration test

Read More

WebSockets allow establishing a full-duplex, two-way communication between the client and the server. With Spring WebSocket, we can bootstrap our WebSocket application

Read More

As the Spring Framework team won't add new features to the RestTemplate, the general recommendation is to start using the Spring WebFlux

Read More