Run AVA tests
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.editorconfig
.gitattributes
.gitignore Update to latest AVA Mar 25, 2018
.npmrc Update to latest AVA Mar 25, 2018
.travis.yml Update to latest AVA Mar 25, 2018
fixture.js ⬆️ ava@0.7.0 Nov 30, 2015
fixture2.js
fixture3.js
gulpfile.js Bump `ava` and require Node.js 4 Feb 2, 2017
index.js Fix `nyc` option not working Apr 20, 2017
license Update to latest AVA Mar 25, 2018
package.json
readme.md
test.js Pipe the output in realtime Apr 17, 2017

readme.md

gulp-ava Build Status

Run AVA tests

Install

$ npm install --save-dev gulp-ava

Usage

const gulp = require('gulp');
const ava = require('gulp-ava');

gulp.task('default', () =>
	gulp.src('test.js')
		// `gulp-ava` needs filepaths, so you can't have any plugins before it
		.pipe(ava({verbose: true}))
);

API

ava([options])

This plugin adheres to AVA options in package.json. You can also specify options in the plugin, as seen above, but prefer the package.json approach whenever possible.

gulp-ava specific options:

silent

Type: boolean
Default: false

Only print output on failure.

nyc

Type: boolean
Default: false

Run AVA with nyc. You must have nyc as a devDependency. nyc options can be defined in package.json.

License

MIT © Sindre Sorhus