nodeunit-browser-tap

Nodeunit browser-side TAP reporter for use with Testling CI

npm install nodeunit-browser-tap
8 downloads in the last week
15 downloads in the last month

nodeunit-browser-tap

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

browser support

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.

Usage

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

Self Hosted Tests

npm install && npm test
npm loves you