[
https://issues.apache.org/jira/browse/GROOVY-9065?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16833317#comment-16833317
]
Paul King commented on GROOVY-9065:
-----------------------------------
[~leonard84] If you can test whether the PR works for you, that would be great.
I have left the existing checks in place at the moment even though the
@Testable check probably makes them redundant. It seemed safer until we do more
testing against the new code.
> 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
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> 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)