There is always the Weld User Forum:
http://seamframework.org/Community/WeldUsers
Weld Test does exist:
http://anonsvn.jboss.org/repos/weld/test/trunk/
but will be 'converted' to a Arquillian container:
Arquillian is a allover 'in container' test framework. Have a look at:
http://community.jboss.org/docs/DOC-14376?uniqueTitle=false
http://community.jboss.org/wiki/Arquillian-Demo
Junit demo code:
http://anonsvn.jboss.org/repos/common/arquillian/trunk/demo/
TestNG demo code:
http://anonsvn.jboss.org/repos/common/arquillian/trunk/demo-testng/
Arquillian does not have any direct/standalone Weld support yet, but this is
in the works and will be out soon. As for now, Weld can be used via the
Jboss 6.0 Remote Container.
Example of Weld + JUnit + Arquillian:
http://anonsvn.jboss.org/repos/common/arquillian/trunk/demo/src/test/java...
This is the basis of upcoming Seam 3 Test.
--
--
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
2009/12/26 Johan Eltes <johan.eltes(a)callistaenterprise.se>
It would be great me and other users to get a weld-user list!
My major pain is to wrap my head around how to implement junit tests for
cdi beans.
Having a place where users could get together to sort out essential issues
for projects trying to use Weld, would be great. If anyone has a sample of a
unit test that does not depend on anything else than weld 1.0.0 would be
really great:
- How to have the test target object injected into the test case ?
... or...
- How to obtain an injected test target object from within the test case?
/Johan
_______________________________________________
weld-dev mailing list
weld-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-dev