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

support for different provider states #19

Closed
thomas-silva-sofi opened this issue Nov 16, 2018 · 2 comments
Closed

support for different provider states #19

thomas-silva-sofi opened this issue Nov 16, 2018 · 2 comments

Comments

@thomas-silva-sofi
Copy link

It would be great if we could initialize the stub server with a given provider state. As to have server responses specific to a scenario.

https://docs.pact.io/getting_started/provider_states

@thomas-silva-sofi thomas-silva-sofi changed the title support for different state support for different provider states Nov 16, 2018
@uglyog
Copy link
Member

uglyog commented Dec 1, 2018

Hmm, that is a good idea. So we can set the state and then return the responses for that state?

uglyog pushed a commit that referenced this issue Mar 3, 2019
@uglyog
Copy link
Member

uglyog commented Mar 26, 2019

Released in version 0.2.2

@uglyog uglyog closed this as completed Mar 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants