IntelliJ, Kotlin, Junit 5 and 'internal' test methods



IntelliJ template for kotlin tests is choosing the internal modifier for test functions

internal fun myTest() { ... }

And apparently JUnit-5 engine is not finding those internal tests.

Anyone else is having the same issue?
Do I need to add a custom template for kotlin tests or there is a better way to solve the issue?


I ended up changing all junit-5 templates by addinng public modifier to all of them (class, setup, teardown and ).


Related issue:


Thanks. Found it myself after duplicating the issue in youtrack :slight_smile: