Update README with test structure.
This commit is contained in:
parent
a9dd31aed2
commit
5204516dee
1 changed files with 10 additions and 5 deletions
15
README.md
15
README.md
|
@ -1,14 +1,19 @@
|
||||||
![](http://people.mozilla.com/~cdiehl/img/octo.png)
|
[![Build Status](https://api.travis-ci.org/MozillaSecurity/octo.svg?branch=master)](https://travis-ci.org/MozillaSecurity/octo) [![Coverage Status](https://coveralls.io/repos/github/MozillaSecurity/octo/badge.svg?branch=master)](https://coveralls.io/github/MozillaSecurity/octo?branch=master)
|
||||||
|
|
||||||
|
![](http://people.mozilla.com/~cdiehl/img/octo.png)
|
||||||
|
|
||||||
A fuzzing framework for JavaScript
|
A fuzzing framework for JavaScript
|
||||||
|
|
||||||
[![Build Status](https://api.travis-ci.org/MozillaSecurity/octo.svg?branch=master)](https://travis-ci.org/MozillaSecurity/octo) [![Coverage Status](https://coveralls.io/repos/github/MozillaSecurity/octo/badge.svg?branch=master)](https://coveralls.io/github/MozillaSecurity/octo?branch=master)
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
This is WIP.
|
This is WIP.
|
||||||
|
|
||||||
|
## Testing
|
||||||
|
|
||||||
|
Tests live in the `tests/` subdirectory, and are written for [QUnit](https://qunitjs.com/).
|
||||||
|
To run tests locally, open `tests/index.html` in a browser.
|
||||||
|
The automated tests are run in Firefox/Chrome using [Karma](https://karma-runner.github.io/).
|
||||||
|
To run the automated tests:
|
||||||
|
|
||||||
|
npm install
|
||||||
|
CHROME_BIN=chromium npm test
|
||||||
|
|
||||||
|
When adding new files, add them in `index.html` and `karma.conf.js` so they can be tested and included in coverage reports.
|
||||||
|
|
Loading…
Reference in a new issue