# nodeunit-ci

> Simple nodeunit runner for ci

Latest version **1.0.2** (published 2015-04-02) · 0 weekly downloads

## Install

```sh
npm install nodeunit-ci
pnpm add nodeunit-ci
yarn add nodeunit-ci
bun add nodeunit-ci
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2015-04-02 |
| First published | 2013-11-04 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Yoshitaka Sakamoto |
| Maintainers | ystskm |
| Keywords | nodeunit, test, ci |

## Links

- npm: https://www.npmjs.com/package/nodeunit-ci
- Repository: http://github.com/ystskm/nodeunit-ci
- Homepage: https://github.com/ystskm/nodeunit-ci
- Issues: https://github.com/ystskm/nodeunit-ci/issues
- npm.io page: https://npm.io/package/nodeunit-ci

## Dependencies (1)

- [nodeunit](https://npm.io/package/nodeunit.md) >=0.8.1

## Alternatives

- [duck](https://npm.io/package/duck.md) — 4.2M weekly downloads
- [ava](https://npm.io/package/ava.md) — 560.2K weekly downloads
- [storybook-addon-module-mock](https://npm.io/package/storybook-addon-module-mock.md) — 71.7K weekly downloads
- [vest](https://npm.io/package/vest.md) — 50.1K weekly downloads
- [@ethereum-waffle/mock-contract](https://npm.io/package/@ethereum-waffle/mock-contract.md) — 40.0K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2015-04-02
- 1.0.1 — 2015-04-02
- 1.0.0 — 2013-11-19
- 0.9.1 — 2013-11-11
- 0.9.0 — 2013-11-11
- 0.2.2 — 2013-11-05
- 0.2.1 — 2013-11-04
- 0.2.0 — 2013-11-04
- 0.1.6 — 2013-11-04
- 0.1.5 — 2013-11-04
- 0.1.4 — 2013-11-04
- 0.1.2 — 2013-11-04
- 0.1.1 — 2013-11-04
- 0.1.0 — 2013-11-04

## README

# nodeunit-ci

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

## Install

Install with [npm](http://npmjs.org/):

    npm install nodeunit-ci

## Exsample code - simple test runner
```js
// Default timeout is 60sec
require('nodeunit-ci').run('basic', __dirname);
```

### STDOUT
    4 Nov 13:48:51 - - basic.js (7ms, 100% perfect!)
   ![Alt text]( https://pbs.twimg.com/media/BYNNB09CMAACqkU.png "travis result")
  
## 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](https://github.com/ystskm/node-localelist)  
    ".travis.ymi", "package.js", "test/_runner.js" and "test/basic.js"

---
_Source: https://npm.io/package/nodeunit-ci · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
