[Pkg-javascript-commits] [dojo] 46/149: Document that running tests against SauceLabs doesn't work. Refs #18427.

David Prévot taffit at moszumanska.debian.org
Sat Feb 27 03:13:46 UTC 2016


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository dojo.

commit aaabd38691e500e1dcad4efbf9050e6c5e320d55
Author: Bill Keese <bill at dojotoolkit.org>
Date:   Tue Mar 3 07:48:29 2015 +0900

    Document that running tests against SauceLabs doesn't work.
    Refs #18427.
---
 tests/README.md | 29 +++++++++++++++++------------
 1 file changed, 17 insertions(+), 12 deletions(-)

diff --git a/tests/README.md b/tests/README.md
index 88dec34..72a7d44 100644
--- a/tests/README.md
+++ b/tests/README.md
@@ -14,7 +14,7 @@ tests/
     services/ - Service proxy server plus service modules
 ```
 
-## Running the tests
+## Running the tests locally
 
 To get started, simply run the following commands in the dojo directory:
 ```
@@ -30,17 +30,7 @@ following command:
 npm run test
 ```
 
-To run unit and functional tests via SauceLabs run the following command:
-```
-npm run test-remote
-```
-
-This command will attempt to open a tunnel to SauceLabs and run the test
-suite in all of the browsers defined in `tests/dojo.intern.js`. SauceLabs
-requires an account (SL offers free accounts). The Dojo Foundation has an
-account, but please use your own when running your own tests.
-
-If a local Selenium instance is more desirable, install "selenium-standalone-server"
+To run against the browsers, install "selenium-standalone-server"
 and the drivers for the browsers to test, launch Selenium on port 4444, and issue
 the following command:
 ```
@@ -138,6 +128,21 @@ Run this command from your dojo root directory:
 You will get security dialogs on the PC that you have to click "OK" to.
 
 
+## Running tests against SauceLabs
+
+Although the dojo tests can be run against SauceLabs, the intermittent failures and timeouts
+essentially make it impossible to get an accurate result.  Nonetheless, here are the instructions to do it.
+
+To run unit and functional tests via SauceLabs run the following command:
+```
+npm run test-remote
+```
+
+This command will attempt to open a tunnel to SauceLabs and run the test
+suite in all of the browsers defined in `tests/dojo.intern.js`. SauceLabs
+requires an account (SL offers free accounts). The Dojo Foundation has an
+account, but please use your own when running your own tests.
+
 ## Writing tests
 
 To add a test suite to the suites to automatically run when the runner

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dojo.git



More information about the Pkg-javascript-commits mailing list