When working for the first time with Spring, you might encounter several no qualifying bean exceptions when you try to start your
Similar to testing our web layer in isolation with @WebMvcTest, Spring Boot provides a convenient way to test our Spring Boot JPA
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.
When you start testing your Spring Boot application sooner or later you'll stumble over @Mock and @MockBean. Both annotations create mock objects
Did you ever found yourself saying: I usually ignore testing my Spring Web MVC controller endpoints because the security setup is tricky.
Spring Boot offers great support to test different slices (web, database, etc.) of your application. This allows you to write tests for
Recently I introduced Testcontainers for a Kotlin based Spring Boot application. I jumped right into the setup and immediately ran into an
Nothing is more tiresome than long feedback cycles due to slow builds. I've recently invested one day to improve the integration test
WebSockets allow establishing a full-duplex, two-way communication between the client and the server. With Spring WebSocket, we can bootstrap our WebSocket application
As the Spring Framework team won't add new features to the RestTemplate, the general recommendation is to start using the Spring WebFlux