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
Is there a technical limitation that a TestInjector from a QuarkusTestResourceLifecycleManager cannot inject any TestResource beans into a QuarkusTestBeforeEachCallback?
The TestResource is getting created before the execution of a QuarkusTestBeforeEachCallback and destroyed after QuarkusTestAfterEachCallback.
This would make it lots more convenient to clean up after or before a test.
If there is not limitation, I'd go ahead and open a feature request.
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.
-
Is there a technical limitation that a
TestInjector
from aQuarkusTestResourceLifecycleManager
cannot inject anyTestResource
beans into aQuarkusTestBeforeEachCallback
?The
TestResource
is getting created before the execution of aQuarkusTestBeforeEachCallback
and destroyed afterQuarkusTestAfterEachCallback
.This would make it lots more convenient to clean up after or before a test.
If there is not limitation, I'd go ahead and open a feature request.
Beta Was this translation helpful? Give feedback.
All reactions