From bff09df5b905d6a2a4c11c00c256beb49d5bffd7 Mon Sep 17 00:00:00 2001
From: buildmaster
If you have a Spring Boot application that uses Tomcat as an embedded server (which is
the default with spring-boot-starter-web), you can add
-spring-cloud-contract-wiremock to your classpath and add @AutoConfigureWireMock in
+spring-cloud-starter-contract-stub-runner to your classpath and add @AutoConfigureWireMock in
order to be able to use Wiremock in your tests. Wiremock runs as a stub server and you
can register stub behavior using a Java API or via static JSON declarations as part of
your test. The following code shows an example:
@RunWith(SpringRunner.class) diff --git a/single/spring-cloud-contract.html b/single/spring-cloud-contract.html index 227a8b5df9..b84ec453d0 100644 --- a/single/spring-cloud-contract.html +++ b/single/spring-cloud-contract.html @@ -5400,7 +5400,7 @@ Spring Boot application. Check out the samples for more details.If you have a Spring Boot application that uses Tomcat as an embedded server (which is the default with
spring-boot-starter-web), you can add -spring-cloud-contract-wiremockto your classpath and add@AutoConfigureWireMockin +spring-cloud-starter-contract-stub-runnerto your classpath and add@AutoConfigureWireMockin order to be able to use Wiremock in your tests. Wiremock runs as a stub server and you can register stub behavior using a Java API or via static JSON declarations as part of your test. The following code shows an example:@RunWith(SpringRunner.class) diff --git a/spring-cloud-contract.xml b/spring-cloud-contract.xml index 358f719838..a52ad64536 100644 --- a/spring-cloud-contract.xml +++ b/spring-cloud-contract.xml @@ -8565,7 +8565,7 @@ Spring Boot application. Check out the for more details.If you have a Spring Boot application that uses Tomcat as an embedded server (which is the default with spring-boot-starter-web ), you can add -spring-cloud-contract-wiremock to your classpath and add@AutoConfigureWireMock in +spring-cloud-starter-contract-stub-runner to your classpath and add@AutoConfigureWireMock in order to be able to use Wiremock in your tests. Wiremock runs as a stub server and you can register stub behavior using a Java API or via static JSON declarations as part of your test. The following code shows an example: