Skip to content

smh/mocha-githook-reporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mocha Reporter for use with git hooks

Build Status npm

Will only output a report if there are any test failures, thus making it suitable for use with git hooks

Installation

$ npm install mocha-githook-reporter --save-dev

or as a global module

$ npm install -g mocha-githook-reporter

Usage

Run mocha with mocha-githook-reporter:

$ mocha test --reporter mocha-githook-reporter