Experience using weld-junit with spring data jpa as a lightweight arquillian replacement?

128 views Asked by At

Good Morning everybody,

I am currently facing the problem that my project wants to use weld-junit (https://github.com/weld/weld-junit/blob/master/junit5/README.md) to provide easy unit tests, wit the power of injection and a CDI container. In an isolated context this works great but in combination with spring data JPA, I am currently facing the problem that the repository implementations (generated by spring data) cannot be found in the CDI context of the test, so the injection points cannot be fulfilled. Does anybody has experience by using this combination yet? Wolfs be great to have an example.

Kind regards

0

There are 0 answers