mocha-spectrum-reporter

1.0.3 • Public • Published

mocha-spectrum-reporter

Third Party Mocha Reporter

npm version

Add some color to your test results with this spec-like custom mocha reporter. This reporter is based after Mocha's built-in spec reporter with the intention to better emphasize slow tests. It adds the test duration to every test result with a color based on the test duration. Fast running tests (~1-4ms) are violet. As test take longer their color moves through the color spectrum until reaching red (~50ms).

Install with NPM:

npm install --save-dev mocha-spectrum-reporter

Then call mocha with:

mocha --reporter mocha-spectrum-reporter test

Screenshot

Screenshot

Readme

Keywords

Package Sidebar

Install

npm i mocha-spectrum-reporter

Weekly Downloads

17

Version

1.0.3

License

MIT

Last publish

Collaborators

  • frodare