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
Watch video Integration Tests with WireMock and Spring Boot online without registration, duration hours minute second in high quality. This video was added by user Java Master 31 October 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,663 once and liked it 51 people.