It's on our longer term roadmap, but we don't currently support it in this flow. We do support messaging in the standard consumer-driven flow with Pact however
Hi Thanks for clear explanation. I have one quick question regarding wiremock-pact-generator. The pact file which is generated by wiremock pact generator plugin is not having pact matchers and states. Will that be fine? I have asked similar question in stackoverflow, how can we add the states in wiremock pact generator, and I have got a response from your saying that pact generator is not fully generating contract as per pact standard as it won't generate pact matcher which are important to verify. I surprised seeing example with wiremock pact generator here.
As discussed in your SO post, matchers aren't using in BDCT (docs.pactflow.io/docs/bi-directional-contract-testing) so not generating them in this way is not a problem. Only the example request/response cycles are needed for BDCT as a consumer contract.
We don't that I'm aware of, except for the Pact workshops on our site. Maven is just a build tool however, what's the specific thing you'd like to see?
my consumer contracts make use of "provider states" - how are these treated in BDCT? my guess it that they are ignored since only the schema is being verified
That's right - provider states are ignored from a BDCT perspective. We are only interested in the sample request/responses to compare against the OAS (provider contract).
Although this users Cypress with a Pact adapter, you can use the Pact framework directly with something like Pact-JS which is preferred and will avoid a layer of indirection 👍
Hi, can we run only producer driven contract test using bi directional contracts? Without creating consumer driven contract
Great demo, looks very useful. Do you support AsyncAPI for messaging as well?
It's on our longer term roadmap, but we don't currently support it in this flow. We do support messaging in the standard consumer-driven flow with Pact however
Hi Thanks for clear explanation. I have one quick question regarding wiremock-pact-generator. The pact file which is generated by wiremock pact generator plugin is not having pact matchers and states. Will that be fine?
I have asked similar question in stackoverflow, how can we add the states in wiremock pact generator, and I have got a response from your saying that pact generator is not fully generating contract as per pact standard as it won't generate pact matcher which are important to verify. I surprised seeing example with wiremock pact generator here.
As discussed in your SO post, matchers aren't using in BDCT (docs.pactflow.io/docs/bi-directional-contract-testing) so not generating them in this way is not a problem. Only the example request/response cycles are needed for BDCT as a consumer contract.
Hi This looks great...Do you have a maven example?
We don't that I'm aware of, except for the Pact workshops on our site. Maven is just a build tool however, what's the specific thing you'd like to see?
@@fattymellows Thanks for your response. If possible I would like to see sample Bidirectional demo project built using Maven.
my consumer contracts make use of "provider states" - how are these treated in BDCT? my guess it that they are ignored since only the schema is being verified
That's right - provider states are ignored from a BDCT perspective. We are only interested in the sample request/responses to compare against the OAS (provider contract).
can you please link to a JS/TS working repo
Check out docs.pactflow.io/docs/examples :)
Can you also make similar video but using web app as a consumer, please?
Hi Robert! We don't have any plans at the moment but thanks for your request. What would you be hoping to see?
Check out ua-cam.com/video/tl1PtesLJVI/v-deo.html
Although this users Cypress with a Pact adapter, you can use the Pact framework directly with something like Pact-JS which is preferred and will avoid a layer of indirection 👍
is this repo on github
i am referring to pactflow-example-cpnsumer-java-
All of our example projects can be found here: docs.pactflow.io/docs/examples