You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by ja...@apache.org on 2019/06/29 16:16:11 UTC

[cordova-paramedic] branch janpio-split_build_and_run created (now f526e5f)

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

janpio pushed a change to branch janpio-split_build_and_run
in repository https://gitbox.apache.org/repos/asf/cordova-paramedic.git.


      at f526e5f  output where building would make sense

This branch includes the following new commits:

     new 0352697  TODOs
     new f526e5f  output where building would make sense

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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


[cordova-paramedic] 02/02: output where building would make sense

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch janpio-split_build_and_run
in repository https://gitbox.apache.org/repos/asf/cordova-paramedic.git

commit f526e5f3397499e81d53a4d7d987606014eff8b5
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Sat Jun 29 18:15:59 2019 +0200

    output where building would make sense
---
 lib/paramedic.js | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/paramedic.js b/lib/paramedic.js
index 171d274..6c7129a 100644
--- a/lib/paramedic.js
+++ b/lib/paramedic.js
@@ -89,6 +89,9 @@ class ParamedicRunner {
 
                     logger.normal('Start running tests at ' + (new Date()).toLocaleTimeString());
                 }
+            })
+            .then(() => {
+                logger.info("TODO Build app here");
                 // run tests
                 return this.runTests();
             })


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


[cordova-paramedic] 01/02: TODOs

Posted by ja...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

janpio pushed a commit to branch janpio-split_build_and_run
in repository https://gitbox.apache.org/repos/asf/cordova-paramedic.git

commit 03526974380f44e8dd632d6c0619b4fd10c2d297
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Sat Jun 29 18:04:30 2019 +0200

    TODOs
---
 lib/LocalServer.js        |  3 +++
 lib/ParamedicSauceLabs.js |  3 +++
 lib/paramedic.js          | 11 +++++++++++
 3 files changed, 17 insertions(+)

diff --git a/lib/LocalServer.js b/lib/LocalServer.js
index 5d7d2f4..b00cf61 100644
--- a/lib/LocalServer.js
+++ b/lib/LocalServer.js
@@ -156,6 +156,9 @@ function getRandomInt (min, max) {
 }
 
 LocalServer.startServer = function (ports, externalServerUrl, useTunnel, noListener) {
+
+    // TODO 2. Create and configure local server to receive test results
+
     logger.normal('local-server: scanning ports from ' + ports.start + ' to ' + ports.end);
 
     return LocalServer.getAvailablePort(ports.start, ports.end)
diff --git a/lib/ParamedicSauceLabs.js b/lib/ParamedicSauceLabs.js
index b9b8718..538a9b6 100644
--- a/lib/ParamedicSauceLabs.js
+++ b/lib/ParamedicSauceLabs.js
@@ -382,6 +382,9 @@ class ParamedicSauceLabs {
     }
 
     runSauceTests () {
+
+        // TODO 3a. ... on SauceLabs
+
         let isTestPassed = false;
         let pollForResults;
         let driver;
diff --git a/lib/paramedic.js b/lib/paramedic.js
index a70607f..171d274 100644
--- a/lib/paramedic.js
+++ b/lib/paramedic.js
@@ -99,6 +99,9 @@ class ParamedicRunner {
                 throw new Error(error);
             })
             .fin((result) => {
+
+                // TODO 5. Collect data and clean up
+
                 isTestPassed = result;
                 logger.normal('Completed tests at ' + (new Date()).toLocaleTimeString());
 
@@ -204,6 +207,9 @@ class ParamedicRunner {
     }
 
     runLocalTests () {
+
+        // TODO 3b. locally
+
         let runProcess = null;
 
         // checking for Android platform here because in this case we still need to start an emulator
@@ -273,6 +279,9 @@ class ParamedicRunner {
     }
 
     runAppiumTests (useSauce) {
+
+        // TODO 4. Run Appium tests
+
         const platform = this.config.getPlatformId();
         logger.normal('Start running Appium tests...');
 
@@ -337,6 +346,8 @@ class ParamedicRunner {
     runTests () {
         let isTestPassed = false;
 
+        // TODO 3. Run (Jasmine) tests...
+
         // Sauce Labs
         if (this.config.shouldUseSauce()) {
             return this.paramedicSauceLabs.runSauceTests.apply(this.paramedicSauceLabs)


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