vertx-unit
vertx-unit copied to clipboard
Ability to control the time
I really like the RxJava TestScheduler and the ability to control the time, rather than having to wait for however long it takes for events to actually be emitted in real-time. Is something like this possible in vertx-unit
?
I doubt this is feasible as the timing operations are based on Netty on some may be related on networking for which you cannot control timers
That's fair enough, I was just being curious. It's a shame that there's not any way to isolate those external dependencies for unit testing though.