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

Jakub Narloch (JIRA) jira-events at lists.jboss.org
Wed Feb 20 12:56:57 EST 2013


     [ https://issues.jboss.org/browse/ARQ-1305?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jakub Narloch updated ARQ-1305:
-------------------------------

        Fix Version/s: spring_1.0.0.next
    Affects Version/s: spring_1.0.0.Beta1
          Component/s: Extension - Spring

    
> Defaults values for @SpringConfiguration and @SpringApplicationConfiguration
> ----------------------------------------------------------------------------
>
>                 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
>             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