Open AdamPike opened 4 years ago
We could add a flag to the selector object for the 'pacts for verification' api to indicate whether or not it was required.
consumerVersionSelectors: [{ tag: 'master', latest: true, required: true }]
Thanks @AdamPike, We have a similar flag for other use cases so Beth's proposal makes sense to me.
Ok, thanks. Closing this one.
Let's leave it open so we can track the progress @AdamPike .
Feature Request
When running my verification I got a success, happy days. Later I realised that my providerBaseUrl was wrong and this should be failing, after some time I worked out that I had
consumerVersionTags: ['master']
but the only version in broker was from a branch, after changing this it failed (correctly). My fault entirely but, It would be great if Pact Verifier alerts me to the fact that there's no pact for those tags rather than giving me a false positive.