You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Paul King (JIRA)" <ji...@apache.org> on 2019/05/22 14:47:00 UTC

[jira] [Created] (GROOVY-9135) Additional support for @Testable annotation in JUnit5Runner

Paul King created GROOVY-9135:
---------------------------------

             Summary: Additional support for @Testable annotation in JUnit5Runner
                 Key: GROOVY-9135
                 URL: https://issues.apache.org/jira/browse/GROOVY-9135
             Project: Groovy
          Issue Type: Improvement
            Reporter: Leonard Brünings
            Assignee: Paul King
             Fix For: 3.0.0-beta-1, 2.5.7


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|https://junit.org/junit5/docs/5.2.0/api/org/junit/platform/commons/annotation/Testable.html] 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}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)