Discouraged users from using spring-cloud-contract-wiremock dependency directly

the preferred option is to use `spring-cloud-starter-stub-runner`

fixes gh-348
This commit is contained in:
Marcin Grzejszczak
2018-03-19 16:31:12 +01:00
parent 13902ecf1d
commit 51564ab444
8 changed files with 11 additions and 8 deletions

View File

@@ -11,7 +11,7 @@ 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: