How to create a JUnit 5 rule for Android activity?

252 Views Asked by At

How to create a JUnit 5 @rule for Android activity?

JUnit 4

@get:Rule
    val mActivityRule: ActivityTestRule<GeralActivity> = ActivityTestRule(GeralActivity::class.java)

JUnit 5

???
0

There are 0 best solutions below