]
Aslak Knutsen commented on WELDX-58:
------------------------------------
Weld-Test was intended to be a generic CDI test framework.
You will need to add a dep to the weld-impl module as well as weld-junit/testng. weld-impl
describes how to boot weld, using weld-se.
Modification to Weld Test to use SE Bootstrap
---------------------------------------------
Key: WELDX-58
URL:
https://jira.jboss.org/jira/browse/WELDX-58
Project: Weld Extensions
Issue Type: Patch
Components: CDI Test, Java SE
Affects Versions: Java SE 1.0.0.CR2, CDI Test 1.0.0.Beta1, CDI Test 1.0.0.Beta2
Environment: Windows Vista, Eclipse / Maven
Reporter: Chris Pheby
Fix For: CDI Test 1.0.0.Beta2
Attachments: weld-test-se.diff
Thanks very much for Weld which is a great runtime evolved from the Seam framework, and
thanks for Weld Test which brings JUnit testing in an elegant manner to the framework.
My initial attempts to run Weld Test runtime were unsuccessful. Digging into the
framework, I found it was very similar to the bootstrapping found in the SE runtime. Since
the test framework runs out of container, it makes sense to reuse the SE runtime directly
to benefit from the work going on there and reduce duplication. This patch is an effort to
do that, and builds and executes the test using the SE runtime rather the Weld Test's
own runtime.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: