Matt (pactflow.io / pact-js / pact-go)
Santiago Martí
05/24/2022, 10:25 PMMatt (pactflow.io / pact-js / pact-go)
Santiago Martí
05/25/2022, 8:35 PMCody A. Ray
06/13/2022, 6:47 PMMatt (pactflow.io / pact-js / pact-go)
Cody A. Ray
06/15/2022, 3:36 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Cody A. Ray
06/15/2022, 3:40 AMMatt (pactflow.io / pact-js / pact-go)
Ex: bidirectional contract testing looks pretty exciting, and I assume it’ll work better than the swagger-mock-validator we use today — unless that’s what is used under the hood. But we’re using the OSS broker, so this isn’t supported (yet?).It is, but we have customised it to address a few things.
Cody A. Ray
06/15/2022, 3:47 AMMatt (pactflow.io / pact-js / pact-go)
Using the wiremock-pact-generator to try to reduce the work on consumer teams. Runlin already has a POC using this too. But then we expect we’ll want BDCT to validate these much quicker, since my understanding is that a bunch of duplicative tests like we’d generate would be too slow to validate normally. But trying to see if this theory is true💯 do not use the standard pact verification here. It won’t just be duplicative, but likely very flakey and hard for the provider team to verify reliably.
Matt (pactflow.io / pact-js / pact-go)
And now we get to add GRPC into the mix, because a lot of our API calls are over GRPC and “faking” our contracts using grpcgateway seems… fallible.got it. The plugin stuff is still very new and the authoring interface is still a level below where we’ll want to be (you’ll see what I mean), so I expect us to get through the beta phase and get to DX improvements on that. But conceptually we want to get that working first
Cody A. Ray
06/15/2022, 3:48 AMMatt (pactflow.io / pact-js / pact-go)
Interesting. What would make them flakey? I assumed the main challenge on the providers (besides speed) would be handling a million different provider states.yes, that’s one. Because the wiremock pact generator doesn’t care for states (unless I’m mistaken), the provider won’t know how to deal with all of the scenarios.
Cody A. Ray
06/15/2022, 3:50 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)