mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Implement acceptance tests for some basic features
This commit is contained in:
4
build.sh
4
build.sh
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user