[weld-issues] [JBoss JIRA] Commented: (WELDX-58) Modification to Weld Test to use SE Bootstrap

Aslak Knutsen (JIRA) jira-events at lists.jboss.org
Sun Dec 27 07:48:30 EST 2009


    [ https://jira.jboss.org/jira/browse/WELDX-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12501664#action_12501664 ] 

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: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list