Giter VIP home page Giter VIP logo

android-test-utils's Introduction

Android Test Utils

This library contains classes and methods that will ease the writing of your Android instrumentation tests.

Espresso

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.

SQLite

QueryPlanExplainer Provides methods for explaining the strategy or plan that SQLite will use to implement a specific SQL query.

UiAutomator

UiDeviceExtensions Provides extension functions on the UiDevice class for waiting on the device's "launcher" (a.k.a. "home") and "recent apps" screens.

Setup

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.2.0")
}

android-test-utils's People

Contributors

adil-hussain-84 avatar

Stargazers

 avatar  avatar Jarek Kopaczewski avatar Mark Villacampa avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.