You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Reinis Vicups <to...@orbit-x.de> on 2013/05/29 19:56:11 UTC
ApplicationComposer : load config from files
Hi everyone,
I would like to achieve following for the test cases running with
org.apache.openejb.junit.ApplicationComposer:
- supply existing beans.xml (to provide CDI container with alternatives
configuration);
- supply existing persistence.xml (to actually test if persistence.xml
is correctly configured and for easier configuration of unit tests since
I always use same test configuration);
Thank you guys for your help.
br
reinis
Re: ApplicationComposer : load config from files
Posted by Romain Manni-Bucau <rm...@gmail.com>.
Hi
Use internal readers (ReadDescriptors for instance)
Le 29 mai 2013 19:56, "Reinis Vicups" <to...@orbit-x.de> a écrit :
> Hi everyone,
>
> I would like to achieve following for the test cases running with
> org.apache.openejb.junit.**ApplicationComposer:
>
> - supply existing beans.xml (to provide CDI container with alternatives
> configuration);
> - supply existing persistence.xml (to actually test if persistence.xml is
> correctly configured and for easier configuration of unit tests since I
> always use same test configuration);
>
> Thank you guys for your help.
>
> br
> reinis
>