pact-php
pact-php copied to clipboard
PHP version of Pact. Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project
Added matchers support in the ConsumerRequest path in order to use path variables
We had a problem with consumer filtering. Like https://github.com/pact-foundation/pact-php/issues/245. This is how we fixed it. Not sure if it breaks other stuff.
This is following on from open PR's #210 (stale) and #257 (me mostly wanting to see how much work to get it running and see benefits of changes. It's faster!)...
* https://github.com/pact-foundation/pact-php/issues/258 * https://github.com/pact-foundation/pact-php/pull/210
Assuming https://github.com/pact-foundation/pact-php/issues/258 can be agreed upon. As seen in https://github.com/pact-foundation/pact-php/pull/210 php 7.4, 8& 8.1 can provide new syntax enhancements. Technically 7.4 will be EOL very soon. This is a placeholder...
Hey @cfmack, Just beginning to set up maintenance checklists against the various repos, and since I am here probably a good place to start - [ ] changelog - Currently...
This issue is in response to [this slack thread](https://pact-foundation.slack.com/archives/C9W94PXPY/p1653385684655239) The error is about a sub-process call exiting with a non-zero error code. Interestingly, re-running can lead to this error going...
After this change, https://github.com/pact-foundation/pact-php/commit/3915cde524346fd7207d20dad6cb2ce1268c831a, if we try to filter the verifier by consumer name using: ` $verifier = (new MessageVerifier($config)) ->setCallbacks($callbacks) ->verify($this->consumerService);` Doesn't work because is trying to verify with...
Thanks for hardwork to create this package. As we trying and look for more in pact-php. I did not see any example to switch or setup provider while run testing....