When we ask broker for contracts to be verified we can use consumerVersionSelectors to narrow down the consumers version.
It would be useful to have similar capabilities for WIP contracts selection. Currently it accepts only a date through includeWipPactsSince option.
Our current configuration using pact-ruby is the following:
honours_pacts_from_pact_broker do
pact_broker_base_url ...
consumer_version_selectors [
{consumer: 'My Consumer', tag: 'production', latest: true}
]
include_wip_pacts_since '2020-12-01'
enable_pending true
end
Currently, there is no way to exclude WIP pacts for consumer other than 'My Consumer'.
When we ask broker for contracts to be verified we can use
consumerVersionSelectors
to narrow down the consumers version. It would be useful to have similar capabilities for WIP contracts selection. Currently it accepts only a date throughincludeWipPactsSince
option.Our current configuration using pact-ruby is the following:
Currently, there is no way to exclude WIP pacts for consumer other than 'My Consumer'.
https://pact.canny.io/admin/board/feature-requests/p/give-more-control-over-wip-contract-selection