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 17+ and an IDE installed
- Access to a Docker Engine
Workshop Outline
Day 1: Fundamentals and Unit 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
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