You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by er...@apache.org on 2021/07/27 04:33:58 UTC

[cordova-android] 01/01: ci: add Java instrumentation tests

This is an automated email from the ASF dual-hosted git repository.

erisu pushed a commit to branch ci/connectedAndroidTest
in repository https://gitbox.apache.org/repos/asf/cordova-android.git

commit 14476364bdd1ff3b39cf83aecaf5116a9ed5c021
Author: Erisu <el...@gmail.com>
AuthorDate: Tue Jul 27 13:33:32 2021 +0900

    ci: add Java instrumentation tests
---
 test/run_java_unit_tests.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/test/run_java_unit_tests.js b/test/run_java_unit_tests.js
index ba41e3a..d118477 100644
--- a/test/run_java_unit_tests.js
+++ b/test/run_java_unit_tests.js
@@ -61,7 +61,9 @@ class AndroidTestRunner {
             .then(_ => this._gradlew('--version'))
             .then(_ => console.log(`[${this.testTitle}] Gradle wrapper is ready. Running tests now.`))
             .then(_ => this._gradlew('test'))
-            .then(_ => console.log(`[${this.testTitle}] Java unit tests completed successfully`));
+            .then(_ => console.log(`[${this.testTitle}] Java unit tests completed successfully`))
+            .then(_ => this._gradlew('connectedAndroidTest'))
+            .then(_ => console.log(`[${this.testTitle}] Java instrumentation tests completed successfully`));
     }
 }
 

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org