pact-foundation / pact-specification

Describes the pact format and verification specifications
MIT License
292 stars 28 forks source link

Support for gRPC contract testing #69

Closed krzysztofreczek closed 1 year ago

krzysztofreczek commented 4 years ago

Are there any plans for support of gRPC contract testing? Maybe it is already there, or there are some well-known practices on how to use pact in such a scenario?

mefellows commented 4 years ago

Yes there are plans, but not yet supported. See https://pact.canny.io/feature-requests/p/support-grpc and also https://github.com/pact-foundation/pact-specification/issues/62

krzysztofreczek commented 4 years ago

@mefellows, thanks for the quick response. Are you able to provide any rough estimation when this feature is available? I understand you are open for contributions, aren't you?

mefellows commented 4 years ago

I'd say in the next 3 months we'll have at least a workable beta in a popular languages (e.g. JS or Pact Go, because they are the two I maintain). Did you want to join us at slack.pact.io in the #protobufs channel, and we can discuss there? We probably have enough critical mass now we could form a working group and a plan?

krzysztofreczek commented 4 years ago

@mefellows, would be great! At the moment I am in a few other short term projects and would be difficult to get into your right now. Let me get back to you in a month or two and check if I can help then

mcopjan commented 3 years ago

Any update on this please?

mefellows commented 3 years ago

Please follow the https://pact.canny.io/feature-requests/p/support-grpc issue. Follow #83 also as it will be a pre-requisite.

Screen Shot 2021-02-22 at 11 20 06 am

YOU54F commented 1 year ago

This is complete via plugins

https://github.com/pactflow/pact-protobuf-plugin

more detail

https://docs.pact.io/plugins/quick_start