Skip to content

Commit 9bae6d5

Browse files
authored
Update README.md
1 parent 9d58b13 commit 9bae6d5

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

pact/pact-feign-consumer/README.md

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
1-
# Testing a Spring Boot REST API Consumer against a Contract with Spring Cloud Contract
1+
# Testing a Spring Boot REST API Consumer against a Contract with Pact
22

33
## Companion Blog Article
4-
Read the [companion blog article](https://reflectoring.io/consumer-driven-contract-consumer-spring-cloud-contract/) to this repository.
4+
Read the [companion blog article](http://localhost:4000/consumer-driven-contract-feign-pact/) to this repository.
55

66
## Getting Started
77

8-
* have a look at the [contract](src/test/resources/contracts)
98
* have a look at the [feign client](src/main/java/io/reflectoring/UserClient.java)
10-
* have a look at the [consumer test](src/test/java/io/reflectoring/UserClientTest.java)
11-
* run `./gradlew publishToMavenLocal` in the [producer project](../spring-cloud-contract-provider)
12-
to create a provider stubs
13-
* run `./gradlew build` in this project to verify the feign client against the stub
9+
* have a look at the [consumer test](src/test/java/io/reflectoring/UserServiceConsumerTest.java)
10+
* run `./gradlew build` in this project to create a pact and run the consumer test
11+
* afterwards, find the pact contract file in the folder `target/pacts`

0 commit comments

Comments
 (0)