Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Update tests instructions #1608

Merged
merged 1 commit into from

2 participants

@clkao

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/README.md
View
10 tests/README.md
@@ -9,7 +9,7 @@ So please run this:
````bash
$ 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:
````bash
-$ /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:
````bash
-$ /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:
````bash
-$ /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.