[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-995) Make it so that spring can be used in Seam Integration/unit tests

youngm (JIRA) jira-events at lists.jboss.org
Tue Mar 6 17:41:22 EST 2007


    [ http://jira.jboss.com/jira/browse/JBSEAM-995?page=comments#action_12355246 ] 
            
youngm commented on JBSEAM-995:
-------------------------------

I'm thinking it would not be exclusive to testing.  It would be a replacement for the spring ContextLoaderListener.  

As far as expressions working and everything, optimally they would all work the same but I'm not familiar enough with the seam testing harness to be sure it will all work automatically it may take some more work before it's all seemless.  I'll keep this issue notified when I start working on this.

Mike

> Make it so that spring can be used in Seam Integration/unit tests
> -----------------------------------------------------------------
>
>                 Key: JBSEAM-995
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-995
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: Spring
>    Affects Versions: 1.2.0.GA
>            Reporter: youngm
>             Fix For: 1.2.1.GA
>
>
> Currently there isn't really a way to use spring in Seam integration/unit tests.  Spring provides support for testing with a super class which sets up spring and seam does the same thing.
> One easy way to fix this problem is to add a Seam component that installs and sets up a Spring ApplicationContext.  That way the Seam super test class can be used and when it starts up the seam container will start up and configure spring.
> This will also help solve the slight race condition we currently have of the spring integration work being dependent upon Seam already configured.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the seam-issues mailing list