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 am currently trying to migrate some tests that use the Arquillian JUnit 4 runner in conjunction with javax.inject fields to use the jakarta.inject namespace. When doing so Arquillian now no longer detects the fields I want it to inject.
I have not really found any official documentation for this, only a blogpost which seems to suggest that I need to migrate to JUnit 5 and the Arquillian JUnit5 extension in order to use jakarta.inject. Is this true, and is there official documentation for this?
The project I am doing this for is apache artemis-cdi-client, this is the specific test I am currently trying to fix.
Any help/pointers would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
That said, it should work to use jakarta.inject. What Arquillian Adapter are you using? From the project it looks like either Weld or OpenBeans. You'll want to make sure you're using the newest version of those as well and ensure they support Jakarta EE 9+.
I am currently trying to migrate some tests that use the Arquillian JUnit 4 runner in conjunction with javax.inject fields to use the jakarta.inject namespace. When doing so Arquillian now no longer detects the fields I want it to inject.
I have not really found any official documentation for this, only a blogpost which seems to suggest that I need to migrate to JUnit 5 and the Arquillian JUnit5 extension in order to use jakarta.inject. Is this true, and is there official documentation for this?
The project I am doing this for is apache artemis-cdi-client, this is the specific test I am currently trying to fix.
Any help/pointers would be greatly appreciated.
The text was updated successfully, but these errors were encountered: