-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use InProcessServerBuilder for testing #213
Comments
Actually I struggled with that, indeed it'd be nice if the framework manages a proper way to mock Grpc services |
grpc-spring-boot-starter does this using a property. |
@graemerocher I'm willing to submit PR for this, but there will have to be internal design changes. I looked at the code, and it assumes Do you've any thoughts on this? |
Seems reasonable |
Any updates on this? |
Micronaut gRPC creates a
NettyServerBuilder
automatically. How do I use an InProcessServerBuilder for testing?One way is to set
grpc.server.enabled=false
, and then create theServer
myself.But then, I've to start and stop it. It'd be nice to have the framework manage it on my behalf instead.
The text was updated successfully, but these errors were encountered: