Closed skaggmannen closed 1 year ago
Thanks for the detailed report @skaggmannen. We currently only support v2 matchers. We are aiming for v3 support in q2 this year, so hopefully that gives you an indication of time-frames.
Does this mean that you do not actually support message pacts since they use v3 of the pact dsl? How about the examples for message pacts included in the project?
14 jan. 2020 kl. 12:46 skrev Matt Fellows notifications@github.com:
Thanks for the detailed report @skaggmannen. We currently only support v2 matchers. We are aiming for v3 support in q2 this year, so hopefully that gives you an indication of time-frames.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
It's a bit confusing. We support just parsing the v3 spec file and the message functionality, but not the v3 matchers.
See https://docs.pact.io/feature_support
On Wed, Jan 15, 2020, 4:03 AM Fredrik Allansson notifications@github.com wrote:
Does this mean that you do not actually support message pacts since they use v3 of the pact dsl? How about the examples for message pacts included in the project?
14 jan. 2020 kl. 12:46 skrev Matt Fellows notifications@github.com:
Thanks for the detailed report @skaggmannen. We currently only support v2 matchers. We are aiming for v3 support in q2 this year, so hopefully that gives you an indication of time-frames.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/pact-foundation/pact-go/issues/123?email_source=notifications&email_token=AAANFDASYX7URNS4WH3CSH3Q5XV7JA5CNFSM4KGRAATKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEI5L3PY#issuecomment-574275007, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAANFDFC36TRD5WADWKZFDDQ5XV7JANCNFSM4KGRAATA .
V3 is now supported in 2.x.x, closing.
Software versions
Expected behaviour
It should be possible to verify a message pact containing v3 matching rules.
Actual behaviour
The matching rules are ignored and only exact matches are accepted.
Steps to reproduce
I wrote a message pact provider test using the example as baseline, but it seems like the framework is ignoring the matching rules in the pact file for some reason.
I tried verifying the following pact file:
But I get the following errors:
Relevent log files
Please ensure you set logging to
DEBUG
and attach any relevant log files here (or link from a gist).