Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-3711

StrutsSpringTransactionalTestCase - adding transactional behaviour to StrutsSpringTestCase

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            wild_oscar Miguel Almeida
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: