Description
openedon Aug 5, 2024
Description
Hello,
I am trying to use the JUnit ParameterResolver to deduplicate code in our unit tests. We have common code, that requires to create some entities before a test class and delete the entities after the tests are finished.
Sadly I have stumbled over the fact, that quarkus does not seem to provide support towards the ParamterResolver.
I have created a sample project on GitHub, including a ReadMe File to explain the issues I discovered.
https://github.com/pfaul/quarkus-test-extension
EDIT: I have added a branch (cdi_bean) to the project, where I attempt to use an application scoped bean to store the value. Sadly this attempt also does not work. The error states Unable to locate CDIProvider
during the resolveParameter exection.
I really appreciate any help towards solving this setup. Maybe I am just missing some feature, that is already available.
Thanks in advance!
Implementation ideas
No response