Introduction
In the previous chapters we did a lot of coding. We created a new Spring Boot application from scratch, added an MVC component to it, some database services, made a few tweaks to the application behavior, and even wrote our very own Spring Boot Starter. It is now time to take the next step and learn what kind of tools and capabilities Spring Boot offers when it comes to testing all this code and how well it integrates with the other popular testing frameworks.
We will see how to use the Spring JUnit integration to create unit tests. Next, we will explore the options of setting up the database with test data to test against it. We will then look to the Behavior Driven Development tools, Cucumber and Spock, and see how they integrate with Spring Boot.