nodeunit-ci

Simple nodeunit runner for ci

nodeunit-ci

Support for CI (continuous integration) with nodeuint. Timeout can be set when start running.

Install with npm:

npm install nodeunit-ci
// Default timeout is 60sec 
require('nodeunit-ci').run('basic', __dirname);
4 Nov 13:48:51 - - basic.js (7ms, 100% perfect!)

require('nodeunit-ci').run(['basic', 'state'] , __dirname, 10000);
// 2nd and 3rd parameter inherits to next task
require('nodeunit-ci').run('basic', __dirname, 10000).pipe('state').on('end', function(results){
  console.log(results.length + ' test(s) finished');
});
  • node-localelist
    ".travis.ymi", "package.js", "test/_runner.js" and "test/basic.js"