WireMock Introduction and Basic Integration Test Setup to Mock HTTP Communication

Опубликовано: 03 Ноябрь 2024
на канале: Philip Riecks
23,818
276

YouTube series explaining how to use WireMock for mocking the HTTP communication to external systems for integration tests.

This first video introduces the test scenario, the sample application, and how to write the first test with WireMock.

While the sample application uses Spring Boot, you can use this testing recipe for any Java application.

Content:

0:00​ Introduction to the Test Scenario
3:57​ Sample Application Walkthrough
8:21 Basic Setup for WireMock
14:20 Writing the First Integration Test
19:00 Missing Base URL Override

Part I:    • WireMock Introduction and Basic Integ...  
Part II:    • WireMock Basic Feature Overview to Mo...  
Part III:    • WireMock JUnit 4 Test Setup For Integ...  
Part IV:    • WireMock JUnit 5 Test Setup For Integ...  

The source code for this video is available on GitHub: https://github.com/rieckpil/blog-tuto...

30 Testing Tools and Libraries Every Java Developer Must Know: https://rieckpil.de/testing-tools-and...

» Testing Spring Boot applications deep-dive: https://rieckpil.de/testing-spring-bo...