mirror of https://github.com/lukechilds/ava.git
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
|
10 years ago | |
---|---|---|
lib | 9 years ago | |
test | 9 years ago | |
.editorconfig | 10 years ago | |
.gitattributes | 10 years ago | |
.gitignore | 10 years ago | |
.jshintrc | 10 years ago | |
.travis.yml | 10 years ago | |
cli.js | 9 years ago | |
index.js | 9 years ago | |
license | 10 years ago | |
package.json | 9 years ago | |
readme.md | 9 years ago |
readme.md
ava
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 |
License
MIT © Sindre Sorhus