Groups
Groups
Sign in
Groups
Groups
grpc.io
Conversations
About
Send feedback
Help
grpc c++ unit testing RPCs
519 views
Skip to first unread message
smita deshpande
unread,
Nov 3, 2023, 2:16:24 PM
11/3/23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
https://github.com/grpc/grpc/blob/master/test/cpp/end2end/mock_test.cc
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