Because we had a rainy summer (I live in Finland), I decided to write a new course that describes how you can get rid of DbUnit XML data set files, make your feedback loop as short as possible, and eliminate duplicate boilerplate code (aka duplicate assertions) from your test suite. The Introduction to AssertJ-DB course […] Read More about Introducing My AssertJ-DB Course
Blog (14 / 93)
Clean Test Automation Monthly 7 / 2023
The Clean Test Automation Monthly is a monthly blog post that highlights the best test automation content which I read during the current month. This blog post highlights the best test automation content of July 2023. Read More about Clean Test Automation Monthly 7 / 2023
How to Write MockMvc Tests Without ObjectMapper, Part Two - Using a Template Engine
This blog post is the second part of my article series which investigates if we should use ObjectMapper for creating the request body when we are writing tests for Spring REST APIs. This blog post describes how we can replace ObjectMapper with Thymeleaf template engine. Read More about How to Write MockMvc Tests Without ObjectMapper, Part Two - Using a Template Engine
Clean Test Automation Monthly 6 / 2023
The Clean Test Automation Monthly is a monthly blog post that highlights the best test automation content which I read during the current month. This blog post highlights the best test automation content of June 2023. Read More about Clean Test Automation Monthly 6 / 2023
How to Write MockMvc Tests Without ObjectMapper, Part One - The Simplest Possible Solution
This blog post is the first part of my article series which investigates if we should use ObjectMapper for creating the request body when we are writing tests for Spring REST APIs. This blog post describes how we can generate the request body that's send to the system under test if we cannot use ObjectMapper, we must use the simplest possible solution, and we must use Java. Read More about How to Write MockMvc Tests Without ObjectMapper, Part One - The Simplest Possible Solution
The Best Way to Configure the Spring MVC Test Framework, Part Two
This blog post identifies the characteristics of good integration tests and describes what's the best way to configure the Spring MVC Test framework (aka MockMvc) when we are writing integration tests for Spring web applications or REST APIs. Read More about The Best Way to Configure the Spring MVC Test Framework, Part Two