Good old web tests – extremely valuable, sometimes hard to maintain, and annoying once they get flaky. If you are familiar with
Want to start a religious discussion? Start asking your teammates whether or not you should mock static method calls. It's debatable if
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
Writing your first test with JUnit 5 is straightforward. Annotate your test method with @Test and verify the result using assertions. Apart
In one of the last blog post, I demonstrated how to test the Spring RestTemplate with @RestClientTest. With this elegant solution, you
Testcontainers is now for almost a year part of my core testing libraries set. It allows you to control Docker containers for