Questions tagged [pact4s]

Use this tag when using the pact4s library for working with Pact in Scala.

2 questions
2
votes
1 answer

Pact - Ignore some interactions when verifying on provider side

Let's say I have a provider which is involved in 2 interactions (with one consumer or many, it shouldn't matter). On the provider side, I am able to handle one interaction in the sense that I know how to interpret the provider state of one…
Gaël J
  • 11,274
  • 4
  • 17
  • 32
0
votes
1 answer

Pact: use a query parameter on consumer side but exclude it from the contract

Imagine the scenario where the consumer production code under test is adding an API key as query parameter when calling the provider because it's required by some intermediate layers between the consumer and provider (typically an API…
Gaël J
  • 11,274
  • 4
  • 17
  • 32