A Gradle plugin for running Android monkey tests.
Groovy
Clone or download
Ilias Foukis
Latest commit dc36787 Mar 17, 2017

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.