A collection of Custom Actions and Matchers for Espresso Testing
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
gradle/wrapper
.gitignore
README.md
build.gradle
gradle.properties
gradlew
gradlew.bat
settings.gradle

README.md

Biscotti

Now we are working on multiple projects on the Android team, we felt it necessary to begin sharing some commonly used code across projects. And now we are heavility using UI testing in these projects, we found that the same custom actions and matchers were being used in multiple places.

That's where Biscotti comes in. Biscotti is a simple collection of Custom Actions and Matchers used within Espresso tests.

The ingredients of our Biscotti currently consist of:

Matchers

Actions

App Shortcuts

Intents

Utilities

Using Biscotti

To use Biscotti in your projects, add the following to your root build.gradle file:

allprojects {
    repositories {
        maven { url 'https://jitpack.io' }
    }   
}

Followed by the dependancy in your app level build.gradle file:

androidTestCompile 'com.github.bufferapp:Biscotti:-SNAPSHOT'

or

androidTestImplementation 'com.github.bufferapp:Biscotti:-SNAPSHOT'