You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Leonard Brünings (JIRA)" <ji...@apache.org> on 2019/04/03 22:38:00 UTC

[jira] [Created] (GROOVY-9065) Add support for @Testable annotation in JUnit5Runner

Leonard Brünings created GROOVY-9065:
----------------------------------------

             Summary: Add support for @Testable annotation in JUnit5Runner
                 Key: GROOVY-9065
                 URL: https://issues.apache.org/jira/browse/GROOVY-9065
             Project: Groovy
          Issue Type: Improvement
            Reporter: Leonard Brünings


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)