-
Reading through the guides and javadoc it seems the recommended approach for I also see the notes that injection doesn't work in In my specific case I am testing a grpc service. I have a I've looked though the Quarkus grpc integration tests and they seem to side-step the problem. The grpc services also have a rest service wrapping them, so the Many thanks for any pointers here. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
/cc @geoand (testing) |
Beta Was this translation helpful? Give feedback.
-
True, it's the easiest way to get started.
You can get the port by doing: As for the |
Beta Was this translation helpful? Give feedback.
True, it's the easiest way to get started.
You can get the port by doing:
ConfigProvider.getConfig().getValue("quarkus.http.test-port", Integer.class);
As for the
@GrpcClient
thing you mention, that won't work because the test is not part of the application (intentionally).@cescoffier maybe we need to provide something to make it easier to exercise these services from integrat…