Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: link to 'Using provider states effectively' #1571

Merged
merged 1 commit into from
Jun 14, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -690,3 +689,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