Developing Java Applications with Spring and Spring Boot
by Claudio Eduardo de Oliveira, Greg L. Turnquist, Alex Antonov
Introduction
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access