gradle-monkey-plugin
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 TeamCityeventCount
: Number of monkey eventsseed
: Seed value for pseudo-random number generatordelay
: Delay between events in millisecondsfailOnFailure
: Deactivate exit code on failureinstall
: Reinstalls the APK firsttimeout
: Timeout for OutputResponseexcludedDevices
: List of devices which should be excluded
License
gradle-monkey-plugin is available under the MIT license. See the LICENSE file for more info.