Skip to content
This repository has been archived by the owner. It is now read-only.
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

readme.md

grunt-ava Build Status

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-ava

Usage

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

You can’t perform that action at this time.