Thank you. Now I do understand it.

sanjay...@google.com schrieb am Mittwoch, 7. Juli 2021 um 02:03:15 UTC+2:

> Have you looked into https://grpc.github.io/grpc/python/grpc_testing.html 
> or using InProcess transport 
> https://github.com/grpc/grpc/tree/master/src/core/ext/transport/inproc using 
> grpc core?
>
> On Mon, Jul 5, 2021 at 3:52 AM Johannes Hofmann <rha...@gmail.com> wrote:
>
>>
>> Hello,
>>
>> So I have created a class that is using grpc stub to talk to a go server.
>> That works fine. This class does not have tests yet. For unit tests i 
>> would like to mock the channel and response from the go server [gobgp] so 
>> it may be tested without the actual grpc server running.
>>
>> Can you please help me to figure out how this can be done?
>>
>> Regards,
>> Joe
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "grpc.io" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to grpc-io+u...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/grpc-io/5339d614-e7da-4525-af7a-2d68788cb169n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/grpc-io/5339d614-e7da-4525-af7a-2d68788cb169n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/628138a6-eeca-4316-b04d-a7bc3317f3d8n%40googlegroups.com.

Reply via email to