[weld-dev] Should you allow starting of an external container from mvn test?

Aslak Knutsen aslak at conduct.no
Tue Jan 5 19:28:39 EST 2010


Well today is your lucky day! :)

Just commited a Weld SE Arquillian Container 'preview'..
Preview because it's only tested with very basic CDI features. (and has a
couple of know 'improvements' code wise)

The container starts a SessionScope pr TestCase and a RequestScope pr
TestMethod.

https://jira.jboss.org/jira/browse/ARQ-54

http://anonsvn.jboss.org/repos/common/arquillian/trunk/container-weld-embedded/

I've added a new profile to demo and demo-testng: weld-se
Under the weld-se profile only the CDI example works(@Inject Local Stateless
Session Bean)

mvn test -P weld-se -Dtest=com.acme.cdi.InjectionTestCase

If anyone is interested in contributing a bit more complex CDI
example/testsuite, it's very welcome!

Enjoy and Good luck..... ;)

-aslak-


2010/1/5 Dan Allen <dan.j.allen at gmail.com>

>
> For me, the upcoming weld standalone and embedded JBoss AS test
>> implementations are much more compelling and I can't wait to try them out.
>
>
> Without a doubt, I agree that this is the ideal solution.
>
> -Dan
>
> --
> Dan Allen
> Senior Software Engineer, Red Hat | Author of Seam in Action
> Registered Linux User #231597
>
> http://mojavelinux.com
> http://mojavelinux.com/seaminaction
> http://www.google.com/profiles/dan.j.allen
>
> _______________________________________________
> weld-dev mailing list
> weld-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/weld-dev
>



-- 
--
Aslak Knutsen; +47 952 38 791; fax +47 22 33 60 24
Kongens gate 14; Boks 805 Sentrum, 0104 Oslo;
http://www.conduct.no; mailto:aslak at conduct.no

Conduct AS - Professional Open Source Services
- Red Hat/JBoss Premier System Integrator
- Pentaho Preferred Integration Partner
- Atlassian Technology Partner
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20100106/0495ea11/attachment-0001.html 


More information about the weld-dev mailing list