Uploaded image for project: 'Spring Framework'
  1. Spring Framework
  2. SPR-11340

ServletTestExecutionListener is not enabled by default in abstract base test classes

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Complete
    • Affects Version/s: 3.2 GA
    • Fix Version/s: 3.2.7, 4.0.1
    • Component/s: Test
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      Status Quo

      The ServletTestExecutionListener was introduced in Spring Framework 3.2 and is enabled by default when using the TestContext framework without specifying custom listeners via @TestExecutionListeners. However, the ServletTestExecutionListener has not been added to the default set of listeners for Spring's abstract base test classes.

      Deliverables

      1. Prepend ServletTestExecutionListener to the set of default listeners in AbstractJUnit4SpringContextTests.
      2. Prepend ServletTestExecutionListener to the set of default listeners in AbstractTestNGSpringContextTests.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              sbrannen Sam Brannen
              Reporter:
              sbrannen Sam Brannen
              Last updater:
              Spring Issues Spring Issues
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 19 weeks, 5 days ago