Join Slack
Powered by
Can any one recommend a tutorial or documents whic...
# pact-swift
p
pollet
08/14/2022, 12:48 PM
Can any one recommend a tutorial or documents which helps me in starting contract testing between app and API gateway
m
Marko (IttyBittyApps / pact-swift)
08/16/2022, 12:24 AM
This one seems pretty good.
https://joostoostdijk.com/posts/creating-a-pact-with-swift
It uses the
pact-consumer-swift
framework. But the workflow applies for
PactSwift
as well. Here’s another one that seems to cover quite a bit.
https://medium.com/@rajatvig/ios-docker-and-consumer-driven-contract-testing-with-pact-d99b6bf4b09e
But there’s no “official” one for Pact for Swift. I have it on my to-do list but I’m currently professionally focusing on things way too far away from Pact, unfortunately.
m
Mesut Güneş
09/01/2022, 3:47 PM
@Marko (IttyBittyApps / pact-swift)
in this example, API is the the provider but the API gateway just distributes the requests to the microservices, it is more on configuration tooling not unit testing.
m
Marko (IttyBittyApps / pact-swift)
09/01/2022, 11:15 PM
Have a read here
https://docs.pact.io/getting_started/what_is_pact_good_for#why-pact-may-not-be-the-best-tool-for-testing-pass-through-apis-like-bffs
✅ 1
m
Mesut Güneş
09/02/2022, 5:51 AM
thank you
2
Views
Open in Slack
Previous
Next