Kotlin / kotlin-koans

Kotlin workshop
MIT License
2.6k stars 1.41k forks source link

add missing config to use JUnit 5 #176

Closed michelleheh closed 5 years ago

michelleheh commented 5 years ago

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.