From 986ae4ea674b4f179f81c4d57a487f3904f69676 Mon Sep 17 00:00:00 2001 From: Christoph Diehl Date: Sat, 10 Jun 2017 13:00:08 +0200 Subject: [PATCH] Update README.md --- README.md | 42 ++++++++++++++++++++++++++++++------------ 1 file changed, 30 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index 7abdc91..5d50146 100644 --- a/README.md +++ b/README.md @@ -1,29 +1,47 @@ ![](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) [![JavaScript Style -Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) +[![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) [![JavaScript Style +Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) +[![IRC](https://img.shields.io/badge/IRC-%23fuzzing-1e72ff.svg?style=flat)](https://www.irccloud.com/invite?channel=%23fuzzing&hostname=irc.mozilla.org&port=6697&ssl=1) +[![Current Release](https://img.shields.io/github/release/mozillasecurity/octo.svg)](https://img.shields.io/github/release/mozillasecurity/octo.svg) +[![Downloads](https://img.shields.io/github/downloads/mozillasecurity/octo/total.svg)](https://img.shields.io/github/downloads/mozillasecurity/octo/total.svg) -A fuzzing framework for JavaScript +Octo.js is a unified shared library which aids in building fuzzers for browsers or as complement for an already existing fuzzing framework. -This is WIP. +It bundles core functions and generic boilerplate code commonly used in most frameworks for fuzzing browsers. It is designed for the sharing of improvements between our individual fuzzers, and with the purpose of reducing the maintainability of those core features with minimal effort. + +Octo's future is a stable, well-tested and well-documented standard library for fuzzing in a JavaScript environment. -## Build +## Usage - ./build.py -l lib -d deploy +```html + +https://mozillasecurity.github.io/octo/octo.js +``` + +```html + +https://github.com/mozillasecurity/octo/releases/download/0.1/octo.js +``` + +## Development + +```bash +./build.py -l lib -d deploy +``` ## 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/). +The automated tests are run in Firefox or Chrome using [Karma](https://karma-runner.github.io/). To run the automated tests: - npm install - CHROME_BIN=chromium npm test - +```bash +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.