brofist-tap

TAP reporter for Brofist.

Please use hifive-tap instead
Last updated 7 years ago by killdream .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install brofist-tap 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.2.0                                ...           latest (7 years ago)

2 Versions

  • 0.2.0 [deprecated]           ...           7 years ago
  • 0.1.0 [deprecated]           ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 0
Dependencies (1)
Dev Dependencies (1)
Dependents (3)

Copyright 2014 - 2016 © taobao.org |