1.0.1 • Published 9 years ago
gulp-tap-min v1.0.1
Gulp-Tap-Min
A TAP reporter intended to be used together with Gulp-Tape(min version 0.0.6) and Tape.
Usage
'use strict';
var gulp = require('gulp');
var tape = require('gulp-tape');
var reporter = require('gulp-tap-min');
gulp.task('test', function() {
return gulp.src('test/*.js')
.pipe(tape({
reporter: reporter(),
tapeOpts: { objectMode: true }
}));
});
tape(opts)
For gulp-tap-min to work properly you need to pass tapeOpts: { objectMode: true }
to Gulp-Tape.
reporter(opts)
opts
is an object literal that can take the following key:
verbose
— if truthy the full TAP results will be printed.
Installation
Install via npm (together with Gulp-Tape and Tape):
$ npm install --save-dev gulp-tap-min gulp-tape tape