🌿 MINT | Demo | Features | Contributing | Get Started
package com.ing.mint.exampleapp
import androidx.test.ext.junit.rules.ActivityScenarioRule
import androidx.test.ext.junit.runners.AndroidJUnit4
import org.junit.Rule
import org.junit.Test
import org.junit.runner.RunWith
import com.ing.mint.MINTRule
@RunWith(AndroidJUnit4::class)
class ExampleMintTest {
@Rule
@JvmField
var activityScenarioRule = ActivityScenarioRule(MainActivity::class.java)
@Rule
@JvmField
var mint = MINTRule()
@Test
fun mintExampleTestRun() {
mint.explore()
}
}
Below you can see what happens when you execute the above test. Note that more nuanced navigational strategies can be applied.
Finally, traces can be explored with the included reporting tool. It can be used to interactively explore any of the recorded tests after execution of the tests has finished.