vertx-unit icon indicating copy to clipboard operation
vertx-unit copied to clipboard

Make RunTestOnContext Rule extends from ExternalResource base rule to make the RunTestOnContext extendable

Open vegegoku opened this issue 7 years ago • 3 comments

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.

vegegoku avatar Jul 11 '17 08:07 vegegoku

is that something you could contribute @vegegoku ?

vietj avatar Jul 11 '17 08:07 vietj

I will open a PR very soon

vegegoku avatar Jul 11 '17 18:07 vegegoku

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?

5ubbu avatar Feb 22 '18 08:02 5ubbu