Support for Android Junit5 #123
Closed
gopidholakia
started this conversation in
Ideas
Replies: 1 comment
-
Closing the discussion to keep conversation on the issue #124 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Gordon can only support Junit4, it would be great if I get support for JUnit5 as well.
android-junit5
what I have did to have the suppoert for JUnit5 is, edit TestSuiteLoader
From
private val Annotatable.isTestMethod get() = annotationNames.any { it == "org.junit.Test" }
To
private val Annotatable.isTestMethod get() = annotationNames.any { it in setOf("org.junit.Test", "org.junit.jupiter.api.Test") }
This change is working for me, and It would be better if I get support by Gordon itself.
Beta Was this translation helpful? Give feedback.
All reactions