A Gradle plugin for running Android monkey tests.
Groovy
Latest commit 2a965a6 Dec 11, 2015 @x2on x2on Update .travis.yml
Permalink
Failed to load latest commit information.
example Prepare next version Sep 26, 2013
gradle/wrapper Update gradle wrapper Nov 2, 2015
src/main Add possibility for excluding devices Nov 2, 2015
.gitignore
.travis.yml
LICENSE
README.md
build.gradle Update gradle-android-plugin Nov 16, 2015
gradle.properties [Gradle Release Plugin] - new version commit: '2.5-SNAPSHOT'. Nov 19, 2015
gradlew Update gradle wrapper Nov 2, 2015
gradlew.bat Working initial version Sep 25, 2013
settings.gradle

README.md

gradle-monkey-plugin Build Status Maven Central License MIT

A Gradle plugin for running Android monkey tests.

Basic usage

Add to your build.gradle

buildscript {
    repositories {
        mavenCentral()
    }
    dependencies {
            classpath group: 'com.autoscout24.gradle', name: 'gradle-monkey-plugin', version: '2.3'
    }
}

apply plugin: 'com.autoscout24.gradle.monkey'

Advanced usage

Add to your build.gradle

monkey {
    teamCityLog = true
    eventCount = 1000
    seed = 246
    delay = 100
    failOnFailure = false
    install = true
    timeOut = 30
    excludedDevices = ['f5adb1a1', 'a6asb224']
}
  • teamCityLog: Add features for TeamCity
  • eventCount: Number of monkey events
  • seed: Seed value for pseudo-random number generator
  • delay: Delay between events in milliseconds
  • failOnFailure: Deactivate exit code on failure
  • install: Reinstalls the APK first
  • timeout: Timeout for OutputResponse
  • excludedDevices: List of devices which should be excluded

License

gradle-monkey-plugin is available under the MIT license. See the LICENSE file for more info.