[arquillian-issues] [JBoss JIRA] (ARQ-1305) Defaults values for @SpringConfiguration and @SpringAnnotationConfiguration

Jakub Kurlenda (JIRA) jira-events at lists.jboss.org
Sat Mar 2 19:48:56 EST 2013


    [ https://issues.jboss.org/browse/ARQ-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12757995#comment-12757995 ] 

Jakub Kurlenda commented on ARQ-1305:
-------------------------------------

Please see new pull request: https://github.com/arquillian/arquillian-extension-spring/pull/27 
                
> Defaults values for @SpringConfiguration and @SpringAnnotationConfiguration
> ---------------------------------------------------------------------------
>
>                 Key: ARQ-1305
>                 URL: https://issues.jboss.org/browse/ARQ-1305
>             Project: Arquillian
>          Issue Type: Feature Request
>      Security Level: Public(Everyone can see) 
>          Components: Extension - Spring
>    Affects Versions: spring_1.0.0.Beta1
>            Reporter: Jakub Narloch
>            Assignee: Jakub Narloch
>             Fix For: spring_1.0.0.next
>
>
> The idea is similar to the 'convention over configuration' approach from Spring Test.
> When configuring test with @SpringConfiguration when no XML configuration will specified the extension by default should try to load file with exact same name as the test class and additional '-context.xml' suffix e.g.
> For class org.sample.Test the default resource location should be org/sample/Test-context.xml.
> In case of @SpringAnnotationConfiguration when no class or package has been specified the extension by default should scan for static (non final) class annoated with @Configuration and use it when instantiating the AnnotationApplicationContext.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the arquillian-issues mailing list