Spring Testing Training
Level
AdvancedDuration
24h / 3 daysDate
Individually arrangedPrice
Individually arrangedSpring Testing Training
Spring Testing – a training for developers working with Spring who want to test more effectively.
Who is this training for?
The training is dedicated to everyone who wants to gain or expand their knowledge about testing in the Spring Framework.
For developers who want to improve the quality of the code they create.
What You Will Learn
- During the training, participants will learn programming and testing techniques that make everyday work with code easier.
Training Program
-
Introduction
- Reminder of what tests are and why we write them
- What JUnit / Mockito / AssertJ are
- JUnit architecture
-
Integration tests
- Support from Spring – @SpringBootTest
- Test configuration
- mockMvc tests
- Mocking beans
-
Slice tests
- Why setting up the entire context is not always the best choice
- How to test only slices of the application in a way that brings value
-
Database testing
- Mocking
- In-memory databases
- TestContainers
- Testing transactional code
- Providing data to the database using the JUnit Extensions API
-
Testing external services
- Mocking
- WireMock
- Simplifying WireMock configuration with JUnit Extensions API – Contract Tests
- Creating documentation with tests (Spring Rest Docs)