Skip to content

Commit

Permalink
docs: link to 'Using provider states effectively'
Browse files Browse the repository at this point in the history
  • Loading branch information
edouard-lopez authored and uglyog committed Aug 2, 2022
1 parent 2690737 commit 1f2cf91
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions consumer/groovy/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,12 @@ Sets the port that the mock server will run on. If not supplied, a random port w

#### given(String providerState)

Defines a state that the provider needs to be in for the request to succeed. For more info, see
https://github.com/realestate-com-au/pact/wiki/Provider-states. Can be called multiple times.
Defines a state that the provider needs to be in for the request to succeed. For more info, see [Using provider states effectively][provider-state]. Can be called multiple times.

#### given(String providerState, Map params)

Defines a state that the provider needs to be in for the request to succeed. For more info, see
https://github.com/realestate-com-au/pact/wiki/Provider-states. Can be called multiple times, and the params
[Using provider states effectively][provider-state]. Can be called multiple times, and the params
map can contain the data required for the state.

#### uponReceiving(String requestDescription)
Expand Down Expand Up @@ -673,3 +672,5 @@ You can change the markers of the expressions using the following system propert
We are tracking anonymous analytics to gather important usage statistics like JVM version
and operating system. To disable tracking, set the 'pact_do_not_track' system property or environment
variable to 'true'.

[provider-state]: https://docs.pact.io/provider/using_provider_states_effectively

0 comments on commit 1f2cf91

Please sign in to comment.