Integration Tests with WireMock and Spring Boot

Опубликовано: 31 Октябрь 2023
на канале: Java Master
3,663
51

In this tutorial, we write integration tests for the Spring Boot application using WireMock.
For Unit tests please refer to this tutorial:    • JUnit Mockito tutorial with Spring Boot  

Source code: https://github.com/caligula95/spring-...

00:00 - Intro
00:11 - What is an Integration Test
04:55 - What is WireMock
06:30 - Implementing Service Integration Test
14:30 - Creating WireMock Stub Manually
27:30 - Creating WireMock Sbut via Recording
36:00 - Simulation of Server Timeout
42:20 - Implementing Spring Controller Integration Test
53:20 - Running All Tests Using Gradle