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

Gavin King (JIRA) jira-events at lists.jboss.org
Tue Mar 6 15:05:22 EST 2007

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

Yes, +1.

> 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