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-06-08 03:05:15 +00:00
|
|
|
[![Build Status](https://api.travis-ci.org/MozillaSecurity/octo.svg?branch=master)](https://travis-ci.org/MozillaSecurity/octo) [![Coverage
|
2017-06-08 03:04:42 +00:00
|
|
|
Status](https://coveralls.io/repos/github/MozillaSecurity/octo/badge.svg?branch=master)](https://coveralls.io/github/MozillaSecurity/octo?branch=master) [![JavaScript Style
|
|
|
|
Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) <a href="https://www.irccloud.com/invite?channel=%23fuzzing&hostname=irc.mozilla.org&port=6697&ssl=1"
|
|
|
|
target="_blank"><img src="https://img.shields.io/badge/IRC-%23fuzzing-1e72ff.svg?style=flat"></a>
|
|
|
|
|
2017-04-25 23:06:13 +00:00
|
|
|
|
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
|
|
|
|
|
2017-05-02 16:01:17 +00:00
|
|
|
./build.py -l lib -d deploy
|
2017-04-23 00:59:55 +00:00
|
|
|
|
|
|
|
|
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.
|