-
Notifications
You must be signed in to change notification settings - Fork 4
Getting Started
nenick edited this page Nov 23, 2014
·
1 revision
clone, attach phone (or start emulator), run Scripts/run-tests.sh
from project root
import to android studio, start development, press play
install the plugin https://github.com/evant/android-studio-unit-test-plugin you can install the plugin through the plugin installer in Android Studio
This project template support AndroidStudio.
Run tests in Android Studio need some configuration: see wiki for description
unit tests: ./gradlew testNormLDebug
- append
jacocoReport
for coverage report can't be combined with the integration tests
integration tests: ./gradlew testIntegrationDebug
- append `jacocoReport for coverage report can't be combined with the unit tests
acceptance tests: ./gradlew connectedAndroidIntegrationTest
- replace by
:App:connectedCheck
for coverage report
Currently RestActivity example fails when no server is reachable.
- start
Script/start-wiremock.sh
- kill
Script/start-wiremock.sh kill
- all test result are collected at projectRoot/build/index.html
- run-tests.sh execute all test variants
- run-tests-fast.sh execute just the robolectric tests
- run-tests-travis.sh do all steps necessary for full automatic builds, like install custom dependencies