I was getting a No tests found for given includes: [i_*](--tests filter) error when running $ ./gradlew test --tests i_*, although $ ./gradlew test shows successful build.
It seems that gradle was unable to detect test classes because of the switch to JUnit 5. Adding these 3 lines according to the gradle doc fixed the issue.
I was getting a
No tests found for given includes: [i_*](--tests filter)
error when running$ ./gradlew test --tests i_*
, although$ ./gradlew test
shows successful build.It seems that gradle was unable to detect test classes because of the switch to JUnit 5. Adding these 3 lines according to the gradle doc fixed the issue.