Generate pact files for the mocks that can be published to a pact broker #803
Replies: 2 comments 1 reply
-
Hey Kiran, The question of similarities/differences between Pact and Microcks is raised more and more these last weeks. Not a Pact expert but currently diving in it. From your point of view: what would be the differences and benefits of generating pact contract versus using directly Microcks for this? From my early findings it seems to cover exactly the same feature set: with Microcks tests you're replaying your samples against the real services and then validate the retrieved responses are conformant to the contract (be it OpenAPI, AsyncAPI, GRPC, GraphQL, SOAP, Postman assertions, ...). I really like to learn more on Pact and how we complement/overlap it. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Hi,
A lot of companies follow contract testing as a standard. It would be great if the mocks generated by microcks can generate pact contract files that can be tested against the real service via a pact broker. This idea is same as using the pact-wiremock-generator
https://bitbucket.org/atlassian/wiremock-pact-generator
Wiremock-pact-generator will generate pact files for the mocks exposed by wiremock. Why not we use the same model ?
Regards
Kiran
Beta Was this translation helpful? Give feedback.
All reactions