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

Support @Sql and @SqlGroup on test interfaces

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.3 GA
    • Fix Version/s: General Backlog
    • Component/s: Test
    • Labels:
      None
    • Last commented by a User:
      true

      Description

      Status Quo

      SPR-14184 introduced support for declaring test annotations on test interfaces for all class-level annotations in the Spring TestContext Framework except @Sql and @SqlGroup.

      Analysis

      As of Spring Framework 4.3, there is no first-class support in the framework for finding repeatable annotations like @Sql on interfaces with support for merged composed annotations without finding shadowed annotations on superclasses.

      Deliverables

      • Determine if it is feasible to implement a search algorithm for merged repeatable annotations on interfaces (i.e., something between the "get" and "find" variants in AnnotatedElementUtils).
      • If it is feasible, support @Sql and @SqlGroup on test interfaces.

        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:
                Days since last comment:
                3 years, 29 weeks, 6 days ago