Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/smh/mocha-githook-reporter
Mocha reporter for use with git hooks
https://github.com/smh/mocha-githook-reporter
git-hooks mocha mocha-reporter nodejs
Last synced: 8 days ago
JSON representation
Mocha reporter for use with git hooks
- Host: GitHub
- URL: https://github.com/smh/mocha-githook-reporter
- Owner: smh
- License: mit
- Created: 2017-03-05T16:32:52.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-05T18:32:42.000Z (almost 8 years ago)
- Last Synced: 2025-01-13T04:37:15.450Z (25 days ago)
- Topics: git-hooks, mocha, mocha-reporter, nodejs
- Language: JavaScript
- Size: 17.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Mocha Reporter for use with git hooks
[![Build Status](https://travis-ci.org/smh/mocha-githook-reporter.svg?branch=master)](https://travis-ci.org/smh/mocha-githook-reporter)
[![npm](https://img.shields.io/npm/v/mocha-githook-reporter.svg?maxAge=2592000)](https://www.npmjs.com/package/mocha-githook-reporter)Will only output a report if there are any test failures, thus making it suitable for use with git hooks
## Installation
```shell
$ npm install mocha-githook-reporter --save-dev
```or as a global module
```shell
$ npm install -g mocha-githook-reporter
```## Usage
Run mocha with `mocha-githook-reporter`:```shell
$ mocha test --reporter mocha-githook-reporter
```