Feisal Ahmad
11/29/2024, 9:20 PMpactffi_using_plugin and passing in the handle, and it actually loads the plugin and calls InitPlugin , but now I’m at a loss…
My assumption is the pact-cplusplus is so far out of date it doesn’t actually call any of the methods in the ffi interface to result in the plugin being called with ConfigureInteraction , StartMockServer, etc. Is that a correct assumption?
Where can I find some example code to follow for setting up a transport plugin, so I can figure out what the C++ wrapper should look like to work with plugins?Yousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
Yousaf Nabi (pactflow.io)
Feisal Ahmad
11/29/2024, 10:51 PMYousaf Nabi (pactflow.io)
Feisal Ahmad
11/29/2024, 11:27 PMGrpcGreeterClientTest.cs that sets the interaction_content, and that seems to start the mock server with the specified content in the request payload for the StartMockServer rpc. I was expecting ConfigureInteraction to be called at some point so I can set up the expected requests/responses?
I stripped the “pact:proto” and “pact:proto-service” btw, not sure how relevant that is, since it’s not a grpc service being tested.Yousaf Nabi (pactflow.io)
Feisal Ahmad
12/01/2024, 2:45 PMrholshausen
12/01/2024, 11:01 PM