Implement acceptance tests for some basic features

This commit is contained in:
2017-05-31 17:58:17 -04:00
parent 88c1e73720
commit e4b5a3ea45
19 changed files with 739 additions and 13 deletions

View File

@@ -147,9 +147,9 @@ install_test_apk() {
run_instrumented_tests() {
log_info "Running instrumented tests"
$ADB shell am instrument \
-r -e coverage true \
-r -e coverage true -e size medium \
-w ${PACKAGE_NAME}.test/android.support.test.runner.AndroidJUnitRunner \
> ${OUTPUTS_DIR}/instrument.txt
| tee ${OUTPUTS_DIR}/instrument.txt
mkdir -p ${OUTPUTS_DIR}/code-coverage/connected/
$ADB pull /data/user/0/${PACKAGE_NAME}/files/coverage.ec \