grpc c++ unit testing RPCs

519 views
Skip to first unread message

smita deshpande

unread,
Nov 3, 2023, 2:16:24 PM11/3/23
to grpc.io
Hi,

I want to test the RPC services. My server side is in C++ and want to unit test services. Is there any example which explains?

Do we have to test with real clients..in that case, grpc server needs to be started?
Found one link for mocking server, but it was for ASP.net https://learn.microsoft.com/en-us/aspnet/core/grpc/test-services?view=aspnetcore-7.0

mock_test.cc - it says client side logic testing.. Is there any example which tests server side rpcs?

Thanks,
Smita
Reply all
Reply to author
Forward
0 new messages