Skip to content

Commit

Permalink
support junit5 test annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
joshschriever committed Aug 28, 2023
1 parent aee9b2a commit 4dc2956
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gordon-plugin/gradle.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
group=com.banno.gordon
version=1.9.3
version=1.10.0
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ private val Annotatable.isIgnored
get() = annotationNames.any { it == "org.junit.Ignore" }

private val Annotatable.isTestMethod
get() = annotationNames.any { it == "org.junit.Test" }
get() = annotationNames.intersect(setOf("org.junit.Test", "org.junit.jupiter.api.Test")).isNotEmpty()

0 comments on commit 4dc2956

Please sign in to comment.