4
Pending Pacts: Prevent consumers being able to break provider builds with changed pacts
complete
Beth
Usage
How to setup your broker to use this feature: https://docs.pact.io/pact_broker/advanced_topics/wip_pacts
Consult your language docs for how to use in your tests.
Activity
Newest
Oldest
Matt Fellows
For those wanting to test out the functionality in the latest OSS broker (2.52.2+), ensure the following environment variable is set for the process running the pact broker:
PACT_BROKER_FEATURES=pacts_for_verification
Note that it is still in beta and some bugs may be present.
Beth
@Matt Fellows: Oh you of little faith :P
Matt Fellows
@Beth: You're right. I should have written "bugs are present"
Simon
@Matt Fellows: Is there any documentation for trying this out?
Matt Fellows
@Simon: I've just edited the top of the article for a bit more context. Which language are you after?
Simon
@Matt Fellows: Ruby and Python
Matt Fellows
@Simon: I'm not sure about Ruby, but Python does not yet support it it seems (see https://github.com/pact-foundation/pact-python/blob/master/pact/verifier.py). Would you mind please raising an issue there? It should be an easy thing to add.
Simon
@Matt Fellows: Is it just passing the parameters down to the ruby implementation? If so, I might just open a PR instead :)
Matt Fellows
@Simon: Yes, that would be great thanks!
Matt Fellows
Just a note for anybody seeing this. At the present moment, it is only supported on pactflow.io but will be made generally available once it's out of testing/beta.
Beth
complete
Beth
Implemented in the Pact Broker. Now all the client languages need to start making use of it. Pact JS, Go, .net and python (the versions that wrap the pact-ruby-standalone) now support this.
Beth
in progress