Skip to content
Discussion options

You must be logged in to vote

This seems sensible as you can get quick verification of tests in surefire but also get validation of the final jar in failsafe

True, it's the easiest way to get started.

Is it expected to manually create test collaborators? If so how does one get access to the configuration to do so? For example, if starting up on a random port - how do I get the port?

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…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@nahguam
Comment options

Answer selected by nahguam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants