Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-9065

Add support for @Testable annotation in JUnit5Runner

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.0-beta-1, 2.5.7
    • Component/s: None
    • Labels:
      None

      Description

      Currently the JUnit5Runner checks for annotations with name.startsWith("org.junit.jupiter.api.") to support any JUnit 5 Engine, e.g. Spock 2.0. This should be extended to check for the presence of the Meta-Annotation @Testable instead.

      So check for the presence of @Testable directly on the method/class. Or on its presence on other annotations, e.g. JUnit Jupiter @Test is annotated with @Testable.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                paulk Paul King
                Reporter:
                leonard84 Leonard Brünings
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m