Skip to content

Espresso settings

Devrath edited this page May 17, 2021 · 1 revision
Topic
Adding an instrumentation runner
Adding the espresso dependency

Adding an instrumentation runner

testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"

  • This is the default runner we will be using to exercise the UI, It means performing click, performing swipe Etc..

Adding the espresso dependency

androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'

  • Above line is the dependency needed for running the espresso tests.
Clone this wiki locally