Testing Spring Boot Applications Demystified

Testing Spring Boot Applications Demystified

A comprehensive workshop to master effective testing strategies for Spring Boot applications

Duration
1-2 days
Participants
Up to 15 developers
Format
On-site or Remote

Master Effective Testing for Spring Boot Applications

This immersive two-day workshop will equip your team with the knowledge and practical skills to implement a comprehensive testing strategy for Spring Boot applications. From unit testing to integration testing, you’ll learn how to design and execute tests that provide confidence in your code while maintaining development velocity.

Who Should Attend

This workshop is designed for Java developers who want to improve their testing skills in Spring Boot applications. It’s ideal for teams that:

  • Are starting a new Spring Boot project and want to establish good testing practices from the beginning
  • Have an existing Spring Boot application with inadequate test coverage
  • Want to move from manual testing to automated testing
  • Are experiencing quality issues in their Spring Boot applications

Workshop Format

The workshop is highly interactive, with a mix of presentations, live coding demonstrations, and hands-on exercises. Participants will work on a sample application throughout the workshop, implementing various types of tests and seeing the immediate benefits of their work.

Prerequisites

Participants should have:

  • Basic knowledge of Java and Spring Boot
  • Experience with building web applications
  • Familiarity with Maven or Gradle
  • A laptop with Java 21+ and an IDE installed
  • Access to a Docker Engine

Workshop Outline

Day 1: Fundamentals, Unit and Sliced Testing

  • Testing pyramid and testing strategy overview
  • Setting up a Spring Boot project for effective testing
  • Unit testing Spring components (Services, Repositories, Controllers)
  • Mocking dependencies with Mockito
  • Best practices for writing maintainable tests
  • Writing slice tests with Spring Boot

Day 2: Integration Testing and Advanced Topics

  • Integration testing with Spring Boot Test
  • Database testing with Testcontainers
  • Testing REST APIs and documenting them with Spring REST Docs
  • Testing asynchronous components
  • Performance testing basics
  • Implementing tests in CI/CD pipelines
  • Coverage analysis and test quality metrics

Topics Covered

  • Unit testing Spring Boot components effectively
  • Integration testing with TestContainers
  • Testing REST APIs with Spring MVC Test
  • Database testing strategies
  • Performance testing approaches
  • Implementing test-driven development practices
  • Continuous testing in CI/CD pipelines
  • Test coverage and quality metrics

Book This Workshop

Schedule Now
This workshop is delivered on-site at your location or remotely via video conferencing

Includes:

  • Pre-workshop assessment
  • Comprehensive workshop materials
  • Hands-on practical exercises
  • Sample code repository
  • Workshop recording
  • Certificate of completion
Have questions?
Contact us

What Participants Say

"The Spring Boot testing workshop at Spring IO 2025 was hands-on, focused, and immediately applicable to our daily work. A great blend of practical insights and expert guidance."
Jørn Martin Tysnes Holm
Department Manager, Storebrand
"I am glad that I had a chance to attend Philip’s workshop at Spring I/O this year. The course material is very well structured and caters for wide variety of professionals from beginners to the advanced users of Spring Framework. The workshop is centred around hands on lab assignments and the manner Philip presented material lead audience from the theoretical concepts to practical use of these concepts and eventually laid foundation to apply newly obtained knowledge in practice while working on lab assignments."
Igor Kolomiyets
Solutions Architect Consultant, IKtech Limited
"Had a great time at the Testing Spring Boot Applications Demystified workshop! I learned a ton including new concepts like slice testing and test containers. The in-depth explanations helped me finally understand tools I’d used without fully grasping, and I’m walking away with concrete ideas I will implement with my team. I also really appreciated the philosophy that testing is not all about achieving a certain coverage threshold, but about having the confidence to release on a Friday afternoon."
Rasmus Lagoni
Java Developer, Bankdata
"Joined the one-day-version of this workshop during a spring conference, and I was positively impressed. I am doing java development for some 20+ years now, and, yes i knew parts of what was presented already, but still i learned some nice new things, like the nice chaining feature of assertJ, and some pitfalls to avoid."
Sören Krum
Senior Java Developer, Miles AS

Your Instructor

Philip Riecks

Philip Riecks

Java Testing Expert

Philip is a Java expert with a passion for testing and Spring Boot. With over 10 years of industry experience, he's helped dozens of teams implement effective testing strategies. He's a regular speaker at conferences like Spring I/O, Devoxx, and VMWare Explore.