pact-foundation / pact-ruby

Enables consumer driven contract testing, providing a mock service and DSL for the consumer project, and interaction playback and verification for the service provider project.
https://pact.io
MIT License
2.17k stars 216 forks source link

Feat/update fail if no pacts found pr #314

Closed YOU54F closed 3 months ago

YOU54F commented 3 months ago

fixes #272

continuation of #283

Usage

Pact.service_provider 'your-provider-name' do
  honours_pacts_from_pact_broker do
    pact_broker_base_url '<pact_broker_url>'
    fail_if_no_pacts_found false # defaults to true
  end
end