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 publishing pacts to broker from au.com.dius.pact.consumer:junit5 #1554

Open
TGNThump opened this issue May 17, 2022 · 1 comment

Comments

@TGNThump
Copy link
Contributor

It would be useful to be able to publish pacts directly to the broker using au.com.dius.pact.consumer:junit5 instead of having to rely on the cli or au.com.dius.pact.provider:maven.

TGNThump added a commit to TGNThump/pact-jvm that referenced this issue May 19, 2022
TGNThump added a commit to TGNThump/pact-jvm that referenced this issue May 19, 2022
TGNThump added a commit to TGNThump/pact-jvm that referenced this issue May 19, 2022
TGNThump added a commit to TGNThump/pact-jvm that referenced this issue May 19, 2022
@rholshausen
Copy link
Contributor

The main problem with this is knowing when the Pact is complete and ready to be published. The tests for the interactions can be spread over a number of test classes, and JUnit can run the tests in parallel and also random order.

The reason the CLI is used, it will run after the tests have all run and you know everything is complete.

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