Skip to content

Control how Istanbul covers your code and generates the reports

License

Notifications You must be signed in to change notification settings

ZokugunJS/istanbul.cover

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MIT licensed

@zokugun/istanbul.cover allows you to configure how Istanbul covers your code generates the reports.

Configuration

It will look for the config file istanbul.json

{
	"reporting": {
		"print": "summary",
		"reports": [
			"minimap:@zokugun/istanbul.reporter.minimap"
		],
		"watermarks": {
			"statements":	[80, 90],
			"lines":		[80, 90],
			"functions":	[80, 90],
			"branches":		[70, 80]
		}
	}, 
	"cover": {
		"cmd": "@zokugun/istanbul.cover.cmd.mocha",
		"args": ["-R", "spec"]
	}
}

Execute

To launch Istanbul, use the command node node_modules/zokugun.istanbul.cover/src/cli.js.

License

Copyright © 2016 Baptiste Augrain

Licensed under the MIT license.

About

Control how Istanbul covers your code and generates the reports

Resources

License

Stars

Watchers

Forks

Packages

No packages published