Replies: 1 comment
-
Nevermind, this is too open |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
in Quarkus 2.16.6, I have a QuarkusTest in which I use
@InjectMock
running the test in single, everything works, a mock is getting injected.Running all test together, the regular bean is used thus calling the real methods leading to failure of the test.
Right now, I cannot reproduce it, except in my project (reason still unknown), which I am not able to share. I am in riddles.
I do use a @interceptor for my tests (BeforeEach, AfterEach and Test methods), but it does not keep a state,
What might be reasons, that when running test in a series a @InjectMock suddently fails/irgnores installing a mock?
Beta Was this translation helpful? Give feedback.
All reactions