ITV / scala-pact

A Scala implementation of CDC using the Pact standard
Other
108 stars 54 forks source link

suggestion: partial verification of pacts #119

Open ShahOdin opened 5 years ago

ShahOdin commented 5 years ago

Often pact files have a number of "contract"s(?) in them. It would be nice to be able to verify if a single contract is satisfied, ie a provider spec file could run:

verifyPact.withPactSource(pactBroker()).OnlyItems(1)

while debugging an individual contract, since the pact file is external and one can't simply comment or uncomment other contracts to achieve this.