tap-dot-b

A TAP reporter that formats with dots.


Keywords
reporter, tap
License
MIT
Install
npm install tap-dot-b@0.1.0

Documentation

tap-dot-b

A TAP reporter that formats with dots.

  • . : Pass
  • ! : Fail

If you don't use YAML, you can use scottcorgan/tap-dot (in v1.0.5) .

Installation

$ npm install tap-dot-b

Examples

$ node .tmp/es5/test/index.js | $(npm bin)/tap-dot-b
...!.

  not ok 1 - run()
    ---
    name: AssertionError
    message: |2
        # .tmp/es2015/test/run.js:8

        assert(typeof src_1.run !== 'function')
               |      |     |   |
               |      |     |   false
               |      |     #function#
               |      Object{run:#function#}
               "function"

    stack: |
      AssertionError:   # .tmp/es2015/test/run.js:8

        assert(typeof src_1.run !== 'function')
               |      |     |   |
               |      |     |   false
               |      |     #function#
               |      Object{run:#function#}
               "function"

          at Decorator._callFunc (/Users/bouzuya/.ghq/github.com/bouzuya/tap-dot-b/node_modules/empower-core/lib/decorator.js:110:20)
          at Decorator.concreteAssert (/Users/bouzuya/.ghq/github.com/bouzuya/tap-dot-b/node_modules/empower-core/lib/decorator.js:103:17)
          at decoratedAssert (/Users/bouzuya/.ghq/github.com/bouzuya/tap-dot-b/node_modules/empower-core/lib/decorate.js:49:30)
          at powerAssert (/Users/bouzuya/.ghq/github.com/bouzuya/tap-dot-b/node_modules/empower-core/index.js:63:32)
          at /Users/bouzuya/.ghq/github.com/bouzuya/tap-dot-b/.tmp/es5/test/run.js:12:5
          at Object.testFn [as fn] (/Users/bouzuya/.ghq/github.com/bouzuya/tap-dot-b/node_modules/beater/lib/test.js:8:36)
          at callTestFn (/Users/bouzuya/.ghq/github.com/bouzuya/tap-dot-b/node_modules/beater/lib/run.js:21:17)
          at /Users/bouzuya/.ghq/github.com/bouzuya/tap-dot-b/node_modules/beater/lib/run.js:38:20
          at process._tickCallback (internal/process/next_tick.js:109:7)
          at Module.runMain (module.js:606:11)

    ...

5 tests
4 passed
1 failed

Badges

npm version Travis CI

License

MIT

Author

bouzuya <m@bouzuya.net> (https://bouzuya.net/)