[weld-dev] Should you allow starting of an external container from mvn test?
Dan Allen
dan.j.allen at gmail.com
Wed Jan 6 17:48:52 EST 2010
Aslak,
What a way to start the new year! I'm excited to give this a try...and I'm
sure Steven is even more thrilled than me because it means we can start
doing "lightweight" CDI testing in Arquillian.
Good job!
-Dan
On Tue, Jan 5, 2010 at 7:28 PM, Aslak Knutsen <aslak at conduct.no> wrote:
> 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
>
--
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20100106/4c638bc5/attachment.html
More information about the weld-dev
mailing list