This package has been deprecated

Author message:

Please use hifive-tap instead

brofist-tap

0.2.0 • Public • Published

Brofist: TAP reporter

Build Status Dependencies Status

TAP reporter for Brofist.

Example

You pass the brofist-tap library as your reporter:

var spec   = require('brofist')()
var assert = require('assert')
 
spec('Your thing', function(it) {
  it('Should do X', function() {
    assert.strictEqual(f(x), g(x))
  })
})
 
spec.run(require('brofist-tap')())

And get back TAP output!

TAP version 13
ok 1 Your thing Should do X
 
1..1
# tests 1
# pass 1
# fail 0
# ignored 0

Installing

Just grab it from NPM:

$ npm install brofist-tap

Licence

MIT/X11. IOW you just do whatever the fuck you want to ;3

/brofist-tap/

    Package Sidebar

    Install

    npm i brofist-tap

    Weekly Downloads

    4

    Version

    0.2.0

    License

    MIT

    Last publish

    Collaborators

    • killdream