wiremock spring boot

WireMock Spring Boot drastically simplifies testing HTTP clients in Spring Boot & Junit 5 based integration tests.

320
16
Java

WireMock Spring Boot

Maven Central

WireMock Spring Boot library drastically simplifies WireMock configuration in a Spring Boot and JUnit 5 application.

See the WireMock Spring Boot doc page for installation and usage details. There are also running examples of use cases.

Highlights

  • Fully declarative WireMock setup
  • Support for multiple WireMockServer instances - one per HTTP client as recommended in the WireMock documentation
  • Automatically sets Spring environment properties
  • Does not pollute Spring application context with extra beans

Credits

Originally forked from WireMock Spring Boot.