Manning Early Access Program (MEAP)
Read chapters as they are written, get the finished eBook as soon as it’s ready, and receive the pBook long before it's in bookstores.
@SpringBootTest, MockMvcTester, SpringExtension, and the rest of the Spring Boot testing toolbox are incredibly powerful weapons—once you learn how to wield them. Testing Spring Boot Applications 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 Testing Spring Boot Applications, 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.
Introductory offer Save 50% for a limited time!
eBook
pdf, ePub, online
$47.99
$23.99
you save $24.00 (50%)
Introductory offer Save 50% for a limited time!
print
includes eBook
$59.99
$29.99
you save $30.00 (50%)
with subscription
free or 50% off
$24.99
pro $24.99 per month
access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!