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.
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.I've added a new profile to demo and demo-testng: weld-seUnder the weld-se profile only the CDI example works(@Inject Local Stateless Session Bean)mvn test -P weld-se -Dtest=com.acme.cdi.InjectionTestCaseIf 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 <email@example.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.
weld-dev mailing list
https://lists.jboss.org/mailman/listinfo/weld-devConduct AS - Professional Open Source Services
Aslak Knutsen; +47 952 38 791; fax +47 22 33 60 24
Kongens gate 14; Boks 805 Sentrum, 0104 Oslo;
- Red Hat/JBoss Premier System Integrator
- Pentaho Preferred Integration Partner
- Atlassian Technology Partner