Title: Message Title
| |
|
|
Well, {{ConverterTest}} is not annotated with a bean defining annotation/scope annotation, so if a trimmed bean archive is used {{ConverterTest}} is not recognized as a bean and no {{ProcessInjectionPoint}} is fired - this is excpected from CDI POV. Arquillian CDI test enricher most probably ignores trimmed bean archives (probably even bean-discovery-mode=annotated) and simply attempts to inject any {{ @Inject }} field in a test class (the lifecycle of the test class instance is not managed by CDI) .
So I don't think this is a Weld or Arquillian test enricher issue. If the test is supposed to work together with trimmed bean archive the config property should be injected in a special bean class annotated with a bean defining annotation and not the test class. [~meetoblivion] Do you have a different opinion? |
|
|
|
| |
|
|
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues