Skip to content

Commit d6de2ce

Browse files
committed
Add docs on running tests
1 parent 4bcff63 commit d6de2ce

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,21 @@ http.get('/bundle.js', function (res) {
104104
})
105105
```
106106

107+
## Running tests
108+
109+
There are two sets of tests: the tests that run in node (found in `test/node`) and the tests
110+
that run in the browser (found in `test/browser`). Normally the browser tests run on
111+
[Sauce Labs](http://saucelabs.com/).
112+
113+
Running `npm test` will run both sets of tests, but in order for the Sauce Labs tests to run
114+
you will need to sign up for an account (free for open source projects) and put the
115+
credentials in [a `.zuulrc` file](https://github.com/defunctzombie/zuul/wiki/zuulrc).
116+
117+
To run just the node tests, run `npm run test-node`.
118+
119+
To run the browser tests locally, run `npm run test-browser-local` and point your browser to
120+
`http://localhost:8080/__zuul`
121+
107122
## License
108123

109124
MIT. Copyright (C) John Hiesey and other contributors.

0 commit comments

Comments
 (0)