Closed matthewadams closed 10 months ago
Thanks for the proposal.
What does it add compared to just using the VertxExtension
directly?
@jponge See the difference between
and
Notice:
io.vertx.rxjava.core.Vertx
yourselfassertTrue(context.awaitCompletion(60, TimeUnit.SECONDS));
subscribe()
to Single
or Completable
I believe that with the project reorg for Rx and Rx2, we should move all Rx related code to the vertx-rx-java and vertx-rx-java2 which contain already integration tests for rx and Vert.x supported components.
e.g @tsegismont will add an help for vertx-sql
in these project for helping the management of transaction with RxJava and RxJava2.
That would be:
https://github.com/vert-x3/vertx-rx/tree/master/rx-java2/src/main/java/io/vertx/reactivex/junit5
instead of this project.
@jponge I'm saying that in case you eventually accept this PR of course
My concern with this PR is that it redoes everything the extension does, and that is the preferred way of operating with VertxTestContext.
Le lun. 28 mai 2018 à 19:05, Julien Viet notifications@github.com a écrit :
@jponge https://github.com/jponge I'm saying that in case you eventually accept this PR of course
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/vert-x3/vertx-junit5/pull/42#issuecomment-392571437, or mute the thread https://github.com/notifications/unsubscribe-auth/AABladCNiB5ffy-Q9E_uwwyYVLzwSBkiks5t3C4_gaJpZM4UPAwr .
@jponge Please give a link that demonstrates the “preferred way of operating”.
Ah you are right, you provide utilities to deal with rx types.
@matthewadams Did you play with the testing helpers in RxJava? http://reactivex.io/RxJava/2.x/javadoc/io/reactivex/subscribers/TestSubscriber.html / http://reactivex.io/RxJava/2.x/javadoc/io/reactivex/observers/TestObserver.html / etc
Just throwing this out there for you to consider. It would've helped me save time. Hoping it might save others time.