[weld-dev] java-se weld unit test sample?
Johan Eltes
johan.eltes at callistaenterprise.se
Sat Dec 26 19:40:09 EST 2009
Hej.
It isn't enough to have a dependency to org.jboss.weld.test:weld-test-junit:jar:1.0.0-SNAPSHOT:test to use CDIRunner with junit4. This dependency is also required: org.jboss.weld.test:weld-test-weld:jar:1.0.0-SNAPSHOT:test
If this is the intention, then I think the pom ofvweld-test-junit should have a runtime-dependency to weld-test-weld, so that clients only need to declare a test dependency to weld-test-junit?
/Johan
On 26 dec 2009 v52, at 22.01, Aslak Knutsen wrote:
> Checkout the Weld Java SE project..
>
> JUnit 'example':
> http://anonsvn.jboss.org/repos/weld/java-se/trunk/src/test/java/org/jboss/weld/environment/se/test/WeldMainTest.java
>
>
> src: http://anonsvn.jboss.org/repos/weld/java-se/trunk
>
> -aslak-
>
> 2009/12/26 Johan Eltes <johan.eltes at callistaenterprise.se>
> Is there any working sample of how to set up a unit test for a weld bean? I'm only looking for java-se weld support here, not ejb/jsf.
>
> /Johan
> _______________________________________________
> 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/20091227/ea064d33/attachment-0001.html
More information about the weld-dev
mailing list