pact-foundation / pact-stub-server

Standalone pact stub server
MIT License
75 stars 19 forks source link

support for different provider states #19

Closed thomas-silva-sofi closed 5 years ago

thomas-silva-sofi commented 5 years ago

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

uglyog commented 5 years ago

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

uglyog commented 5 years ago

Released in version 0.2.2