In the previous chapters, we did a lot of coding. We created a new Spring Boot application from scratch, added an MVC component and some database services to it, 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 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 (BDD) tools Cucumber and Spock and see how they integrate with Spring Boot.