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

Upload consumer pacts to pact-broker just like provider contracts #83

Open
canny bot opened this issue Jun 26, 2024 · 2 comments
Open

Upload consumer pacts to pact-broker just like provider contracts #83

canny bot opened this issue Jun 26, 2024 · 2 comments

Comments

@canny
Copy link

canny bot commented Jun 26, 2024

Provider test results, like those written with pact-JVM are automatically uploaded to pact-broker. But consumer tests are written to disk as .json files that must be uploaded in a separate step with the pact cli.

It would be nice to have the consumer pacts automatically uploaded to the broker when they are run. This would make it easier for complex CI builds to always ensure consumer contracts are uploaded

https://pact.canny.io/admin/board/feature-requests/p/upload-consumer-pacts-to-pact-broker-just-like-provider-contracts

Copy link
Author

canny bot commented Jun 26, 2024

This issue has been linked to a Canny post: Upload consumer pacts to pact-broker just like provider contracts 🎉

@YOU54F
Copy link
Member

YOU54F commented Jun 26, 2024

that is by design, some languages don't have the ability to publish pact contracts as they dont wrap the pact cli and that functionality is not available in rust yet.

the library is designed for parallel execution, so we would need to know when all the tests are completed, which would make us test framework aware (and the tooling is test framework agnostic)

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

1 participant