Thomas Cederholm
05/18/2022, 11:19 AM@PactFilter
annotation, with the exact string of the state, then both tests fail to find pacts. Without the annotation it breaks because a test only contains one state. Do I have to have all states in each test file together with the @PactFilter
?rholshausen
05/18/2022, 11:03 PMThomas Cederholm
05/19/2022, 6:24 AM@PactBroker(url = "<https://the-url/>"
, consumerVersionSelectors = {@VersionSelector(consumer = "one-consumer")}
)
in the first test, and
@PactBroker(url = "<https://the-url/>"
, consumerVersionSelectors = {@VersionSelector(consumer = "the-other-consumer")}
)
in the other test, they pass. I will hard-code this for now, until I find a good way to tag the consumers.