0.1.1 • Published 7 years ago
mocha-to-hipchat-reporter v0.1.1
mocha-to-hipchat-reporter
Command-line tool that parses mocha json output and reports failed test to Hipchat
Install
[sudo] npm install -g mocha-to-hipchat-reporter
Usage
All it needs is running the mocha tests with the json
reporter and pipe it into mocha-to-hipchat-reporter
,
which requires a config for connecting to hipchat.
mocha --reporter json | mocha-to-hipchat-reporter -c config.json
Config template
{
"hipchat": {
"token": "",
"channel": ""
}
}