Not now. Work in progress.
- full test coverage of current features
- docs about all features
- the issue
def uiTestingVersion = '0.2.2'
repositories {
jcenter()
}
dependencies {
androidTestImplementation 'com.avito.ui-testing:ui-testing-core:$uiTestingVersion'
androidTestImplementation 'com.avito.ui-testing:ui-testing-maps:$uiTestingVersion'
}
Use UITestConfig to tune library's parameters for your project. Custom instrumentation test runner is the best place for it.
Functions that are invoked before every action and assertion with all information about target and intention.
- Log human readable walk-through of your tests (greatly increases report clarity).
with(UITestConfig) {
actionInterceptors += <your interceptor>
assertionInterceptors += <your interceptor>
}
See test-app/androidTest
To upload snapshot version to your own artifactory server: ./gradlew artifactoryPublish --info
.
Use --info
to debug artifactoryPublish
task, because it completes silently in case of error.
Required environment variables:
- ARTIFACTORY_URL
- ARTIFACTORY_USER
- ARTIFACTORY_PASSWORD
- ARTIFACTORY_REPO
To upload to bintray (mirrored to jcenter): ./gradlew bintrayUpload --info
.
Use --info
to debug bintrayUpload
task, because it completes silently in case of error.
Required environment variables:
- BINTRAY_USER
- BINTRAY_API_KEY
- BINTRAY_GPG_PASSPHRASE