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/08/02 05:30:47 UTC

[cordova-android] 01/04: 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 f4a0e1ec78e301e747abb0ba46aba60ec68736b6
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