This blog post describes how we can configure the system under test by using Spring Boot's test slice configuration (the @WebMvcTest annotation) when we are writing unit tests for view-rendering Spring MVC controllers. We will learn how we can get the required dependencies and configure the system under test. Read More
Spring MVC
This blog post describes how we can configure the system under test by using the standalone configuration of Spring MockMvc when we are writing unit tests for view-rendering Spring MVC controllers. We will learn how we can get the required dependencies and remove duplicate configuration code from our test classes by using both object mother and HTTP request builder classes. Read More
I haven't done any Youtube videos for a long time. In fact, I am pretty sure that some of you thought that I will never do a new Youtube video. That is why I am happy to say that I just uploaded two new video tutorials to Youtube. These videos describe how we can parse […] Read more
I think that the best part of writing a blog is to get comments from my readers. Because I have learned a lot from my readers, I want to “reward” the best comments, help you to learn new things, and (hopefully) encourage people to leave more comments. The rules are simple: I select X best […] Read more
I think that the best part of writing a blog is to get comments from my readers. Because I have learned a lot from my readers, I want to “reward” the best comments, help you to learn new things, and (hopefully) encourage people to leave more comments. The rules are simple: I select X best […] Read more
Yesterday I published 10 most popular blog posts which I wrote in 2015. I also promised to choose my favorite blog posts and publish that list on my blog. This year I decided to select blog posts that fulfill these requirements: The blog post was published during 2015 AND it wasn't one of my most […] Read more