Closed LukasLeppich closed 2 years ago
We try to resolve all parameters we can via Weld, that is a default setup so that users don't need to explicitly write annotations on all injection points. There is a way to disable this (even for a single test class if you like). @LukasLeppich take a look at this doc part and let me know if it solves yous issue - https://github.com/weld/weld-testing/tree/master/junit5#explicit-parameter-injection
I added the @ExplicitParamInjection
annotation to all my test classes and no this error is gone, thank you!
Test cases using the junit5 annotation
@TempDir
fail with the following error:I created a simple test project to demonstrate this behavior: https://github.com/LukasLeppich/weld-testing-tempdir