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

Add support for setting provider states on consumer.dsl.PactBuilder #1646

Open
rmartine-ias opened this issue Dec 6, 2022 · 2 comments
Open

Comments

@rmartine-ias
Copy link

When using the plugins framework, it would be useful to be able to add provider states to a pact, so that the provider can correctly set up their tests. (.given() in the consumer legacy DSL as documented here, and @State on the provider side as documented here.)

The PactBuilder class (example usage here) currently does not implement .given(), or an equivalent.

@rholshausen
Copy link
Contributor

/jira ticket

@github-actions
Copy link

github-actions bot commented Jan 5, 2023

👋 Thanks, Jira [PACT-488] ticket created.

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

3 participants