Found another issue with the CDIRunner: it only injects variables that are declares as interfaces. And it doesn't inject events.


On 26 dec 2009 v52, at 22.01, Aslak Knutsen wrote:

Checkout the Weld Java SE project.. 

JUnit 'example':



2009/12/26 Johan Eltes <>
Is there any working sample of how to set up a unit test for a weld bean? I'm only looking for java-se weld support here, not ejb/jsf.

weld-dev mailing list

Aslak Knutsen; +47 952 38 791; fax +47 22 33 60 24
Kongens gate 14; Boks 805 Sentrum, 0104 Oslo;;

Conduct AS - Professional Open Source Services
- Red Hat/JBoss Premier System Integrator
- Pentaho Preferred Integration Partner
- Atlassian Technology Partner