Join Slack
Powered by
Hello, with Pact v2, can we use the matchers in th...
# pact-ruby
y
Yesi (she/her)
05/03/2022, 7:03 PM
Hello, with Pact v2, can we use the matchers in the unit test assertions?
Yesi (she/her)
05/03/2022, 7:16 PM
Would that be a best practice? Since Pact follows Postel’s Laws…
y
Yousaf Nabi (pactflow.io)
05/03/2022, 7:34 PM
Yes many matchers are supported in V2 and matchers are highly recommended, You can see the pact v2 specification for more detail
https://github.com/pact-foundation/pact-specification/tree/version-2
y
Yesi (she/her)
05/03/2022, 7:38 PM
Thank you very much! I got a little confused and just wanted to make sure
3
Views
Open in Slack
Previous
Next