[
https://issues.apache.org/jira/browse/WW-3711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukasz Lenart closed WW-3711.
-----------------------------
Resolution: Won't Fix
> StrutsSpringTransactionalTestCase - adding transactional behaviour to
> StrutsSpringTestCase
> ------------------------------------------------------------------------------------------
>
> Key: WW-3711
> URL: https://issues.apache.org/jira/browse/WW-3711
> Project: Struts 2
> Issue Type: New Feature
> Components: Unit Tests
> Affects Versions: 2.2.3.1
> Reporter: Miguel Almeida
> Priority: Minor
> Labels: spring, struts2, test-patch
> Fix For: 6.1.0
>
> Attachments: StrutsSpringTransactionalAbstractTest.java
>
>
> From the mailing list thread:
> I'm using StrutsSpringTestCase for some under-the-skin tests.
> However, I felt the need to set up my database for a test. My tests that need
> the database extend from AbstractTransactionalJUnit4SpringContextTests, which
> makes them transactional.
> I therefore created a StrutsSpringTransactionalTestCase that merges the
> behaviour of both StrutsSpringTestCase and
> AbstractTransactionalJUnit4SpringContextTests. I currently just copy-pasted
> the relevant information from AbstractTransactionalJUnit4SpringContextTests.
> I'd like you to take a look at it and comment on whether it makes sense to
> include this in Struts. If so, feel free to use my contribution.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)