[JBoss JIRA] (ARQ-1304) Create test ApplicationContext through factory method.
by Aslak Knutsen (JIRA)
[ https://issues.jboss.org/browse/ARQ-1304?page=com.atlassian.jira.plugin.s... ]
Aslak Knutsen updated ARQ-1304:
-------------------------------
Fix Version/s: spring_1.0.0.Beta2
(was: spring_1.0.0.next)
> Create test ApplicationContext through factory method.
> ------------------------------------------------------
>
> Key: ARQ-1304
> URL: https://issues.jboss.org/browse/ARQ-1304
> 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.Beta2
>
>
> Current version brings the concept of custom classes, which allows to define the concreate class that will be used to instantiate the ApplicationContext. Maybe it would be good idea to give the user full control on how the ApplicationContext will be created, so he can not only use some specialized implementation but would be also able to configure it correctly.
> On the code level this would be achive by 'scaning' for static method that will be responsible for creating the ApplicationContext instance e.g.:
> {code}
> @SpringApplicationContext ApplicationContext [method_name]() {}
> {code}
--
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
11 years
[JBoss JIRA] (ARQ-960) Provide the way to specify the strategy on instantiting AppllicationContext e.g. each test method or each test case
by Aslak Knutsen (JIRA)
[ https://issues.jboss.org/browse/ARQ-960?page=com.atlassian.jira.plugin.sy... ]
Aslak Knutsen updated ARQ-960:
------------------------------
Fix Version/s: spring_1.0.0.Beta2
(was: spring_1.0.0.next)
> Provide the way to specify the strategy on instantiting AppllicationContext e.g. each test method or each test case
> --------------------------------------------------------------------------------------------------------------------
>
> Key: ARQ-960
> URL: https://issues.jboss.org/browse/ARQ-960
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Spring
> Reporter: Jakub Narloch
> Assignee: Jakub Narloch
> Fix For: spring_1.0.0.Beta2
>
>
> Currently the application context is being created once per test case and being destroyed afterwards by ApplicationContextDestroyer. First but all it would be better to have the application context created once per test case, but still in some situation it would be good to be able to run each tests with completly new ApplicationContext. So altogether it would be preferable to enable user the deicision on how the application context should be handled by the extension.
--
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
11 years