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 0516689829 revert to using `tape` for testing 10 years ago
lib ensure there's an error before calling `err.toString` 9 years ago
test revert to using `tape` for testing 9 years ago
.editorconfig init 10 years ago
.gitattributes init 10 years ago
.gitignore init 10 years ago
.jshintrc init 10 years ago
.travis.yml init 10 years ago
cli.js try reading the `fn.displayName` if no test title is supplied 9 years ago
index.js Minor tweaks 9 years ago
license init 10 years ago
package.json revert to using `tape` for testing 9 years ago
readme.md try reading the `fn.displayName` if no test title is supplied 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