This library contains classes and methods that will ease the writing of your Android instrumentation tests.
- MenuDropDownListViewMatchers – Provides methods for matching on a
MenuPopupWindow.MenuDropDownListView
in a UI test. - RecyclerViewMatchers – Provides methods for matching on a RecyclerView in a UI test.
- TabViewMatchers – Provides methods for matching on a TabLayout.TabView in a UI test.
- TextViewMatchers – Provides methods for matching on a TextView in a UI test.
- ViewActions – Provides a method for waiting on a View to match a certain condition in a UI test.
- ViewInteractionExtensions – Provides extension functions on the ViewInteraction class to improve the fluency of view actions and view matches in UI tests.
- ViewMatchers – Provides methods for matching on a View in a UI test.
- ViewPagerMatchers – Provides methods for matching on a ViewPager in a UI test.
- ViewPager2Actions – Provides methods for interacting with a ViewPager2 in a UI test.
- ViewPager2Matchers – Provides methods for matching on a ViewPager2 in a UI test.
- QueryPlanExplainer – Provides methods for explaining the strategy or plan that SQLite will use to implement a specific SQL query.
- UiDeviceExtensions – Provides extension functions on the UiDevice class for waiting on the device's "launcher" (a.k.a. "home") and "recent apps" screens.
To use the above utilities within your app simply add the following repository and dependency declaration in the build.gradle
file of your Android project:
repositories {
mavenCentral()
}
dependencies {
androidTestImplementation 'com.tazkiyatech:android-test-utils:2.0.0'
}