1.3.0 • Published 10 years ago

tap-dev-tool v1.3.0

Weekly downloads
77
License
MIT
Repository
github
Last release
10 years ago

tap-dev-tool

experimental

(Click for a live demo)

Prettify TAP output in Chrome/FireFox DevTools console. Works best with tape.

fail

Comes in the form of a Browserify plugin, so you don't need to change your source code during development. PRs for other integrations (Babel, Webpack) welcome.

Install

You can install with npm:

npm install tap-dev-tool --save-dev

Usage

NPM

browserify

The preferred way of using this is with a plugin during development. After installing, you can use it with browserify like this:

browserify index.js --plugin tap-dev-tool > bundle.js

Works well during development with watchify and budo.

require hook

If you don't want to use the plugin, you can require the tool somewhere at the start of your application.

require('tap-dev-tool/register')

var test = require('tape')

test('should do something', function (t) { 
  ...
})

See Also

License

MIT, see LICENSE.md for details.

1.3.0

10 years ago

1.2.0

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.4

10 years ago

1.0.3

10 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago