pact-ruby
pact-ruby copied to clipboard
Verify when the provider has no matching Pacts
We are currently in the process of rebuilding our pact broker database (moving to Postgres) so all our consumers/providers need to to republished and verified.
It would be nice that if pact broker has no matching pacts to verify that it does not hard fail.
Currently you hit the following line of code: raise "Please configure a pact to verify" if pact_urls.empty?
Workaround we are currently using is to add a custom envvar that we check during build to disable verification checking.
The CLI has this option, so it should be easy to add.