| Author/Contributor(s): | Garnier-Moiroux, Daniel |
| Publisher: | Manning |
| Date: | 1/26/2027 |
| Binding: | Paperback |
| Condition: | NEW |
@SpringBootTest, MockMvcTester, SpringExtension, and the rest of the Spring Boot testing toolbox are incredibly powerful weapons—once you learn how to wield them. This book introduces the testing concepts, techniques, and tools to deliver quality Spring Boot applications every time. You’ll move past the “fire and forget” mindset and discover repeatable steps to manage changing dependencies, simplify your workflow, and eliminate ineffective or broken tests.
In this book, author and Spring team member Daniel Garnier-Moiroux helps you build a solid mental model of what’s happening in your Spring Boot test suite. You'll learn how to organize fast, reliable, and predictive testing pipelines, test web applications at the API and browser levels, and reliably validate the configuration, binding logic, and properties of Spring Boot applications. Throughout the book, you’ll test and work with an increasingly sophisticated example application, tackling more complex use cases until you’re ready to put your new skills into production!
What's inside
• Organizing test suites for fast, predictive, and reliable tests
• The validation and binding logic of configuration properties
• Testing and verifying the security layer without the full browser
• Bundled libraries like AssertJ, Awaitility, JUnit, Mockito, and Testcontainers
About the reader
For Java developers familiar with Spring Boot and basic unit testing.
About the author
Daniel Garnier-Moiroux is a software engineer and teacher at Broadcom, where he contributes to the Spring portfolio including Spring Security and Spring AI. A longtime TDD practitioner, he has hands-on experience across all levels of the testing pyramid. Daniel has taught introductory courses in Java, Python, and web technologies.