pact-foundation / roadmap

Developer Relations @ Pact - Your map to the Pact landscape for all-comers (maintainers, contributors, users, newbies)
https://pact.io/
MIT License
41 stars 7 forks source link

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

Open canny[bot] opened 4 months ago

canny[bot] commented 4 months ago

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

canny[bot] commented 4 months ago

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

YOU54F commented 4 months ago

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)