0.2.1 • Published 10 years ago
mocha-perf-reporter v0.2.1
Mocha Perf Reporter
Test performance reporter
Install
npm install mocha-perf-reporter
Usage
var assert = require('assert');
// Each suite is a table
describe ('This is the first header col', function(){
// Each test is a row
it ('Does something that takes time', function( done ){
// Expected time for this test
this.expected = 1200;
// Yay, you've decreased the time
setTimeout( done, 1180 );
});
});