Skip to content
A TAP reporter that formats with dots.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bin
src
test
types
.gitignore
.node-version
.travis.yml
LICENSE
README.md
package-lock.json
package.json
tsconfig.json

README.md

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/)

You can’t perform that action at this time.