<https://kotlinlang.slack.com/archives/general/p14...
# announcements
i
https://kotlinlang.slack.com/archives/general/p1458389093001217 JUnit requires Rule annotation to be placed on a public field. And in kotlin backing field is private. To expose backing field you can annotate property with the
JvmField
annotation:
Copy code
@Rule @JvmField val testName = TestName()