You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Sindre Sorhus f3c12c1e4c add XO 9 years ago
lib add XO 9 years ago
test we shouldn't catch thrown user errors 9 years ago
.editorconfig Tweaks 9 years ago
.gitattributes init 10 years ago
.gitignore init 10 years ago
.travis.yml add XO 9 years ago
cli.js simplify cli help creation 9 years ago
index.js use `plur` 9 years ago
license init 10 years ago
package.json add XO 9 years ago
readme.md Tweaks 9 years ago

readme.md

ava Build Status

Simple concurrent test runner

Install

$ npm install --save-dev ava

Usage

Add it to package.json
{
	"scripts": {
		"test": "ava test.js"
	}
}

Ava accepts files/folders/globs.

Create your test file
var test = require('ava');

test('test something', function (t) {
	t.assert(true);
	t.is('unicorn', 'unicorn');
	t.end();
});
Run it
$ npm test

Credit

Sindre Sorhus Kevin Mårtensson
Sindre Sorhus Kevin Mårtensson

License

MIT © Sindre Sorhus