rxJava3 and Vertx injection in jUnit5 tests

93 views
Skip to first unread message

P R

unread,
Jun 10, 2021, 3:10:26 PM6/10/21
to vert.x
Using Vert.x 4.1.0 version:

I'm trying to inject io.vertx.rxjava3.core.Vertx using the @ExtendWith(VertxExtension.class) mechanism in jUnit5. However, I get the below error:

org.junit.jupiter.api.extension.ParameterResolutionException: No ParameterResolver registered for parameter [io.vertx.rxjava3.core.Vertx arg0]

Looking at the java docs, it doesn't seem to refer to this scenario i.e. the  io.vertx.rxjava3.core.Vertx as an injectable type. Hence is this a bug or is this use case not supported?

Thanks.
Reply all
Reply to author
Forward
0 new messages