You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use some QuarkusTest*EachCallback to "inject" some field into my quarkusIntTests using acustom annotation. This works perfectly fine.
I want to make the whole thing more intuitive for the devs. Therefor I would like to raise an exception if no instance got injected into an annotated field. For this I would need to be able to set an order of execution for the callbacks, so I can run a call back at the very end that runs a check if all annotated fields are not null.
I did not find an obvious way to declare a priority/order of the callbacks.
Is there a possibility to set an order/priority for QuarkusTest*EachCallback to be run?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I use some
QuarkusTest*EachCallback
to "inject" some field into my quarkusIntTests using acustom annotation. This works perfectly fine.I want to make the whole thing more intuitive for the devs. Therefor I would like to raise an exception if no instance got injected into an annotated field. For this I would need to be able to set an order of execution for the callbacks, so I can run a call back at the very end that runs a check if all annotated fields are not null.
I did not find an obvious way to declare a priority/order of the callbacks.
Is there a possibility to set an order/priority for
QuarkusTest*EachCallback
to be run?Beta Was this translation helpful? Give feedback.
All reactions