Merge pull request #64 from mozilla/fix-readme-with-tests
Updated README about tests.
This commit is contained in:
commit
f9ea568f3f
10
README.md
10
README.md
@ -40,15 +40,19 @@ This `article` object will contain the following properties:
|
|||||||
|
|
||||||
To run the test suite:
|
To run the test suite:
|
||||||
|
|
||||||
$ mocha test/index.js
|
$ mocha test/test-*.js
|
||||||
|
|
||||||
To run a specific test page by its name:
|
To run a specific test page by its name:
|
||||||
|
|
||||||
$ mocha test/index.js -g 001
|
$ mocha test/test-*.js -g 001
|
||||||
|
|
||||||
To run the test suite in TDD mode:
|
To run the test suite in TDD mode:
|
||||||
|
|
||||||
$ mocha test/index.js -w
|
$ mocha test/test-*.js -w
|
||||||
|
|
||||||
|
Combo time:
|
||||||
|
|
||||||
|
$ mocha test/test-*.js -w -g 001
|
||||||
|
|
||||||
## License
|
## License
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user