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(a)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-emb...
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(a)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(a)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@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