0.2.3 • Published 5 years ago

mocha-matrix v0.2.3

Weekly downloads
4
License
ISC
Repository
github
Last release
5 years ago

This project is no longer maintained. Have a look at Mocha Bar.


Mocha Matrix

Mocha Matrix test reporter for the browser, inspired by tj/mocha-matrix.

Setup Instructions

Add Mocha Matrix to the devDependencies of your Node.js project: in the console, switch to your project folder and enter the following command.

npm install --save-dev mocha-matrix

Then edit the HTML file that runs the tests:

<link rel='stylesheet' href='../node_modules/mocha-matrix/mocha-matrix.css'>
<script src='../node_modules/mocha-matrix/index.js'></script>

And tell Mocha to use the reporter:

mocha.setup({ ui: 'bdd', reporter: Matrix });