0.1.0 • Published 11 years ago

buddy-tap v0.1.0

Weekly downloads
3
License
MIT
Repository
github
Last release
11 years ago

buddy-tap Build Status Dependencies Status

TAP reporter for Buddy.

Example

You pass the buddy-tap library as your reporter:

var spec   = require('test-buddy')()
var assert = require('assert')

spec('Your thing', function(it) {
  it('Should do X', function() {
    assert.strictEqual(f(x), g(x))
  })
})

spec.run(require('buddy-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 buddy-tap

Licence

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

0.1.0

11 years ago