nodeunit-browser-tap

Nodeunit browser-side TAP reporter for use with Testling CI

nodeunit-browser-tap

Nodeunit browser-side TAP reporter for use with Testling CI.

Like Nodeunit's baked-in TAP reporter, but meant to run in the browser following Testling's convention of writing test results to console.log.

npm install nodeunit-browser-tap

Write your test.js

var nodeunit = require('nodeunit-browser-tap');

nodeunit.run([{
  "Ceci nes't pas une test": function(test) {
    test.notStrictEqual(this, 'une test');
    test.done();
  }
}]);

And run it. Browserify and Testling make this easy

browserify test.js | testling
npm install && npm test