[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
Jakub Narloch created ARQ-1305:
----------------------------------
Summary: 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)
Reporter: Jakub Narloch
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