Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/axross/tap-notify

:bell: the Notifier for OS X, Linux and Windows as TAP reporter
https://github.com/axross/tap-notify

Last synced: 23 days ago
JSON representation

:bell: the Notifier for OS X, Linux and Windows as TAP reporter

Awesome Lists containing this project

README

        

# tap-notify

[![npm version](https://badge.fury.io/js/tap-notify.svg)](http://badge.fury.io/js/tap-notify)

the Notifier for OS X, Linux and Windows as [TAP reporter](https://github.com/substack/tape#pretty-reporters)

![Screenshot](screenshot1.png)

![Screenshot](screenshot2.png)

## How to Use

You can use tap-notify in the same way as other [TAP reporters](https://github.com/substack/tape#pretty-reporters). I recommend to use as the first pipe.

```
npm install -g tap-notify
```

```
tape ./*.test.js | tap-notify | tap-diff
```

Or use with `createStream()`:

```javascript
var test = require('tape');
var tapDiff = require('tap-diff');
var tapNotify = require('tap-notify');

test.createStream()
.pipe(tapNotify())
.pipe(tapDiff());

process.argv.slice(2).forEach(function (file) {
require(path.resolve(file));
});
```

## License

MIT