Testing Spring Boot Applications

you own this product
  • MEAP began March 2026
  • Last updated March 2026
  • Publication in Fall 2026 (estimated)
  • ISBN 9781633435209
  • 300 pages (estimated)
  • printed in black & white

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside
@‌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.
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Testing Spring Boot Applications ebook for free
choose your plan

team

monthly
annual
$49.99
$499.99
only $41.67 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • renews monthly, pause or cancel renewal anytime
  • renews annually, pause or cancel renewal anytime
  • Testing Spring Boot Applications ebook for free