1.0.2 • Published 9 years ago

nodeunit-ci v1.0.2

Weekly downloads
61
License
-
Repository
-
Last release
9 years ago

nodeunit-ci

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

Install

Install with npm:

npm install nodeunit-ci

Exsample code - simple test runner

// Default timeout is 60sec
require('nodeunit-ci').run('basic', __dirname);

STDOUT

4 Nov 13:48:51 - - basic.js (7ms, 100% perfect!)

Alt text

Exsample code - multiple + timeout(10sec)

require('nodeunit-ci').run(['basic', 'state'] , __dirname, 10000);

Exsample code - multiple + pipe + event

// 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');
});

see for test fileset

  • node-localelist
    ".travis.ymi", "package.js", "test/_runner.js" and "test/basic.js"

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

10 years ago

0.9.1

10 years ago

0.9.0

10 years ago

0.2.2

10 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.6

10 years ago

0.1.5

11 years ago

0.1.4

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago