Silly no, smooth no too ;). I love app composer and tomee embedded rule but
this last one is snapshot only atm.
Le 12 mars 2015 13:14, "hwaastad" <he...@waastad.org> a écrit :

> Hi,
> just a short question regarding embedded cdi testing.
>
> I have a cdi enabled war (web-inf/beans.xml)
>
> So using app composer its OK (cdi=true)
>
> However when using ejb container, I need beans.xml in
> src/resources/meta-inf
> instead to get injection working during tests.
> beans.xml in test/resources/meta-inf does not work,
>
> I can easily filter out the resources/s/meta-inf/beans.xml in maven
> producing the war so it's not really a problem
>
> My question is actually: is it silly to use ejbcontainer when testing cdi
> in a war project?
>
> br hw
>
>
>
> --
> View this message in context:
> http://tomee-openejb.979440.n4.nabble.com/testing-strategy-wars-and-cdi-tp4674035.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>

Reply via email to