2017-04-10 18:14:01 +00:00
|
|
|
![](http://people.mozilla.com/~cdiehl/img/octo.png)
|
2017-04-07 15:08:49 +00:00
|
|
|
|
2017-04-10 18:19:24 +00:00
|
|
|
[![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)
|
|
|
|
|
2017-04-10 18:14:01 +00:00
|
|
|
A fuzzing framework for JavaScript
|
2017-04-07 15:08:49 +00:00
|
|
|
|
|
|
|
This is WIP.
|
|
|
|
|
2017-04-23 00:59:55 +00:00
|
|
|
|
|
|
|
## Build
|
|
|
|
|
|
|
|
./build.py -f lib -d .
|
|
|
|
|
|
|
|
|
2017-04-10 18:14:01 +00:00
|
|
|
## Testing
|
2017-04-07 15:08:49 +00:00
|
|
|
|
2017-04-10 18:14:01 +00:00
|
|
|
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:
|
2017-04-07 15:08:49 +00:00
|
|
|
|
2017-04-10 18:14:01 +00:00
|
|
|
npm install
|
|
|
|
CHROME_BIN=chromium npm test
|
2017-04-07 15:08:49 +00:00
|
|
|
|
2017-04-10 18:14:01 +00:00
|
|
|
When adding new files, add them in `index.html` and `karma.conf.js` so they can be tested and included in coverage reports.
|