@zkochan/tap-diff
The most human-friendly TAP reporter
Last updated 4 years ago by zkochan .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @zkochan/tap-diff -g
SYNC missed versions from official npm registry.

@zkochan/tap-diff

NPM version

The most human-friendly TAP reporter.

Screenshot

Screenshot

Installation

This module is installed via npm:

npm install @zkochan/tap-diff --global

How to use

You can use tap-notify in the same way as other TAP reporters.

tape ./*.test.js | tap-diff

Or use with createStream():

'use strict'

const test = require('tape')
const tapDiff = require('tap-diff')

test.createStream()
  .pipe(tapDiff())
  .pipe(process.stdout)

test('timing test', (t) => {
  t.plan(2)
  t.equal(typeof Date.now, 'function')
  var start = Date.now()

  setTimeout(() => {
    t.equal(Date.now() - start, 100)
  }, 100)
})

License

MIT © axross


Dependencies Dependency status for master

  • babel-runtime: babel selfContained runtime
  • chalk: Terminal string styling done right. Much color.
  • core-js: Standard library
  • diff: A javascript text diff implementation.
  • duplexer: Creates a duplex stream
  • figures: Unicode symbols with Windows CMD fallbacks
  • jsondiffpatch: Diff & Patch for Javascript objects
  • pretty-ms: Convert milliseconds to a human readable string: 1337000000 → 15d 11h 23m 20s
  • tap-parser: parse the test anything protocol
  • through2: A tiny wrapper around Node streams2 Transform to avoid explicit subclassing noise

Dev Dependencies devDependency status for master

Current Tags

  • 1.1.1                                ...           latest (4 years ago)

6 Versions

  • 1.1.1                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.3                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 2
Last Month 8
Dependencies (10)
Dev Dependencies (8)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |