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 2018/02/20 13:00:37 UTC

[cordova-coho] branch janpio-CB-13828 updated: add what to expect when testing

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

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


The following commit(s) were added to refs/heads/janpio-CB-13828 by this push:
     new 420e216  add what to expect when testing
420e216 is described below

commit 420e21632fa31d05bb6f44b00c585f4d42350532
Author: Jan Piotrowski <pi...@gmail.com>
AuthorDate: Tue Feb 20 14:00:35 2018 +0100

    add what to expect when testing
---
 docs/platforms-release-process.md | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/docs/platforms-release-process.md b/docs/platforms-release-process.md
index d788919..c012531 100644
--- a/docs/platforms-release-process.md
+++ b/docs/platforms-release-process.md
@@ -211,16 +211,16 @@ Once all the repos are branched, we focus on testing & fixing all of the regress
 
 ### What to Test
 
-1) Run [mobile-spec](https://github.com/apache/cordova-mobile-spec/).  
+1) Create and run a [mobile-spec](https://github.com/apache/cordova-mobile-spec/) project:  
 
     ```
     ./cordova-mobile-spec/createmobilespec/createmobilespec.js --android --forceplugins
     (cd mobilespec && cordova run android --device)
     (cd mobilespec && cordova run android --emulator)
     ```
-    Don't forget to run through the manual tests in there in addition to the automatic tests.
+    This should start a black-ish app with a "Plugin tests" button. When clicking it you end up in a screen with "Auto Tests" and "Manual Tests" buttons. You should run both and see if all/most/the expected ones succeed.
 
-2) Create a hello world app using the cordova CLI.
+2) Create a hello world app using the `cordova` CLI:
 
     ```
     cordova create ./androidTest org.apache.cordova.test androidTest
@@ -228,9 +228,9 @@ Once all the repos are branched, we focus on testing & fixing all of the regress
     (cd androidTest && cordova run android --device)
     (cd androidTest && cordova run android --emulator)
     ```
+    This should create an app showing the Cordova logo, "Apache Cordova" and a green "Device is ready" box.
 
-3) Run your platform's `./bin/create` script. Ensure the generated project builds & runs both through an IDE and through the cordova/* scripts.
-
+3) Run your platform's `./bin/create` script and run the resulting project:
 
     ```
     ./cordova-android/bin/create ./androidTest2 org.apache.cordova.test2 androidTest2
@@ -238,6 +238,8 @@ Once all the repos are branched, we focus on testing & fixing all of the regress
     (cd androidTest2 && ./cordova/run --device)
     (cd androidTest2 && ./cordova/run --emulator)
     ```
+    This should create an app showing a white screen. 
+    Ensure the generated project files also build through an IDE.
 
 The output from `./cordova/version` should show the new version you defined above.
 

-- 
To stop receiving notification emails like this one, please contact
janpio@apache.org.

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