Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Update tests instructions #1608

merged 1 commit into from

2 participants


No description provided.

@rogerwang rogerwang merged commit d5a85ee into nwjs:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 23, 2014
  1. @clkao

    Update tests instructions

    clkao authored
This page is out of date. Refresh to see the latest.
Showing with 5 additions and 5 deletions.
  1. +5 −5 tests/
10 tests/
@@ -9,7 +9,7 @@ So please run this:
$ npm install -g nw-gyp
-$ cd src/content/nw/tests
+$ cd tests
$ npm install -d
@@ -18,12 +18,12 @@ $ npm install -d
The test suits is indeed a node-webkit app, so use node-webkit to run it:
-$ /path-to-node-webkit src/content/nw/tests
+$ /path-to-node-webkit tests
## Command line options
- $ /path-to-node-webkit src/content/nw/tests --help
+ $ /path-to-node-webkit tests --help
Usage: nw-test [options]
@@ -103,7 +103,7 @@ To make the testing automatic, we need to:
In node-webkit's test, we can do:
-$ /path-to-node-webkit src/content/nw/tests --silent --output result.json --reporter json
+$ /path-to-node-webkit tests --silent --output result.json --reporter json
## Ignore tests that take too long to run
@@ -113,7 +113,7 @@ long to run for normal tasks, these tests are usually marked as `long-to-run`,
so you can use following command to filter out them:
-$ /path-to-node-webkit src/content/nw/tests --grep long-to-run -i
+$ /path-to-node-webkit tests --grep long-to-run -i
## Tips
Something went wrong with that request. Please try again.