[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
Sat Mar 10 17:12:57 EST 2007

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

By the way the DelegatingVariableResolver appears to work fine for integration tests but if anyone else could provide some more testing that would be great.

> 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