Testing web applications effectively requires more than just verifying HTTP responses. While MockMvc excels at testing Spring Boot controllers and REST endpoints, it falls short when we need to test JavaScript interactions, form submissions with client-side validation, or complex user workflows in our Thymeleaf templates. This is where HtmlUnit shines as a powerful testing tool. […] The post Thymeleaf View Testing with Spring Boot and HtmlUnit appeared first on rieckpil.| rieckpil
Learn how to write and test Java-based Flyway migrations in Spring Boot with practical examples and testing strategies.| rieckpil
In the Java ecosystem, managing dependencies effectively is crucial for building stable and maintainable applications. One particularly challenging aspect of dependency management is ensuring dependency convergence – a concept that many developers overlook until they encounter mysterious runtime errors. This article explores what dependency convergence is, why it matters, and how we can effectively manage […] The post Avoid Runtime Errors with Maven Dependency Convergence appeared first o...| rieckpil
Discover essential Spring Boot testing insights including built-in test libraries, context management strategies, test slicing and more.| rieckpil
Learn effective techniques to test Spring MVC Filters using @WebMvcTest in Spring Boot applications, with practical examples.| rieckpil
Testing controllers in Spring Boot can feel like a balancing act. You want fast, focused tests that catch real-world issues—without slowing down your suite or missing critical behavior. Too often, developers fall into one of two traps: writing plain unit tests with Mockito and JUnit, or reaching for the full-blown @SpringBootTest. Both miss the mark. […] The post How to Test Spring Boot Web Controller the Right Way appeared first on rieckpil.| rieckpil
Learn about Pets Get Visible, a membership for pet professionals who want to feel comfortable and confident promoting their work and if it's right for you.| Rachel Spencer Coaching