[
https://issues.jboss.org/browse/ARQ-1305?page=com.atlassian.jira.plugin.s...
]
Jakub Narloch reassigned ARQ-1305:
----------------------------------
Assignee: Jakub Narloch
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
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