Ghedeon / Testy

Gradle plugin that allows to run android tests on specified devices

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Testy [Deprecated]

Gradle plugin that allows to run android tests on specified devices

Usage

Testy is available on jcenter

In your root build.gradle, update the buildscript section by adding corresponding repository and classpath

buildscript {
    repositories {
        jcenter()
        maven {
            url 'http://dl.bintray.com/ghedeon/gradle'
        }
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:1.0.1'
        classpath 'com.vv.testy:testy:0.1'
    }
}

apply testy plugin in your module build.gradle file:

apply plugin: 'com.android.application'
apply plugin: 'testy'

enjoy running tests:

./gradlew connectedAndroidTest -Pdevices=<serial_number1>,<serial_number2> 

License

http://www.apache.org/licenses/LICENSE-2.0

About

Gradle plugin that allows to run android tests on specified devices


Languages

Language:Groovy 100.0%