The best test automation content of September 2024: www.petrikainulainen.net/monthly/clea...
If your unit tests are expensive to maintain, you can make your situation better by following this advice: www.petrikainulainen.net/programming/...#cleantests#cleancode#unittests
Learn to leverage Spring profiles when you have to create a separate configuration for your #springboot integration tests.
Now that I will (finally) write tutorials which help you to write integration tests for Spring Boot web applications, you might want to check my existing Spring MVC Test (aka Spring MockMvc) tutorials. I recommend the "How to Write MockMvc Tests Without ObjectMapper" tutorial.
This blog post describes how you can keep your feedback loop as short as possible when you are writing integration tests for a Spring Boot web application and you build your project with Maven:
Thank you!
I just found a good use case for ChatGPT. It's surprisingly good at generating HTML markup which uses Tailwind CSS. I was able to create usable navigation bar in five minutes and modify it to fulfill my requirements.