vertx-unit
vertx-unit copied to clipboard
Make RunTestOnContext Rule extends from ExternalResource base rule to make the RunTestOnContext extendable
While trying to implement a test case in which i wanted RunTestOnContext and i also wanted to run another rule that depends on inputs from RunTestOnContext, bt since every thing happens inside the apply method there was no way ti inject any code within the life cycle of the rule, by extending from the external resource the ability to make the RunTestOnContext rule work with other rules with more control over when and what should happen.
is that something you could contribute @vegegoku ?
I will open a PR very soon
I'd like to give this a shot. Is there an example test / code that you could share which I can use as a starting point?