Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 1.15 KB

demo.md

File metadata and controls

37 lines (30 loc) · 1.15 KB

Configuring a simple test

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()
    }
}

Interacting with the application

Below you can see what happens when you execute the above test. Note that more nuanced navigational strategies can be applied. MINT executed on Notally

Reporting tool

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. MINT exploring traces