Have you thought about how a gRPC service is implemented under the hood and how could you write a unit test for the gRPC server?
Well, this video gets us started on our unit test journey through the world of gRPC
In this video, you’ll learn:
🔹 How is the route guide service implemented
🔹 What are server builder, direct executor, stub and channel
🔹 How to implement a gRPC API method
🔹 How to write a JUnit test to spin up and in memory server and make an API call
Github: https://github.com/automationhacks/grasp-grpc/blob/main/src/test/java/io/automationhacks/routeguide/RouteGuideServerTest.java
Download
0 formats
No download links available.
gRPC Testing | How to unit test a gRPC server | NatokHD