grunt-ava 
Run AVA tests
Please consider if you really need Grunt for this. Using a npm run script would be better.
Install
$ npm install --save-dev grunt-avaUsage
require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks
grunt.initConfig({
ava: {
test: ['test.js'],
nycTest: {
options: {
verbose: true,
nyc: true
},
files: {
src: ['test.js']
}
}
}
});
grunt.registerTask('default', ['ava']);Adheres to AVA options in package.json. You can also specify options in the plugin as seen above.
You can specify nyc: true in the plugin to run AVA with nyc. You must have nyc as a devDependency. nyc options can be defined in package.json.
License
MIT © Sindre Sorhus