German English

Spring Boot Testing Training

Duration Target group
1 day Software developers
and architects

Training overview
Programmers are responsible for developing stable and maintainable software. In this workshop you will get to know the tools to efficiently test your Spring Boot code base and make it maintainable and to switch to new features of the Java programming language. Efficient procedures and workflows are also presented and discussed and your developers and architects get to know continuous integration, to constantly improve and simplify the code during development.

Either Maven or Gradle is used as a build system. If requested the Eclipse IDE, IntelliJ or Visual Studio Code can be used.

The workshop can be adapted to your needs.

Training prerequisites
Knowledge of Java programming and the Spring Framework.


Onsite or virtual Training

Place Date Language Price
At your location or virtual tbd German / English Upon request

Request

Agenda Download Agenda

Introduction to testing Spring Boot with JUnit

  • Creating an example project with test setup
  • Overview of spring-boot-starter-test

Spring Boot Test Slices

  • Using test splice annotations to load specific app layers
  • Mocking with Mockito and WireMock
  • Performance considerations

Database handling for tests in Spring applications

  • Using profiles to set up test configurations
  • Creating database test fixtures
  • Using Test containers to set up the test database

Spring security test integration

  • Testing protected endpoints with spring-security-test