base-test-converter
v0.1.2
Published
Converts unit tests to the style used by base-test-suite.
Downloads
10
Readme
base-test-converter
Converts unit tests to the style used by base-test-suite.
Install
Install with npm:
$ npm install base-test-converter --save
This won't be published as a gulp plugin, since it's only going to be used until we get the tests converted in templates, assemble, assemble-core, generate, verb and few other projects.
Usage
var gulp = require('gulp');
var converter = require('base-test-converter');
var condense = require('gulp-condense');
gulp.task('fixtures', function() {
return gulp.src('test/fixtures/**')
.pipe(gulp.dest('converted/fixtures'));
});
gulp.task('support', function() {
return gulp.src('test/support/**')
.pipe(gulp.dest('converted/support'));
});
gulp.task('convert', ['fixtures', 'support'], function() {
return gulp.src('test/*.js')
.pipe(converter())
.pipe(condense())
.pipe(gulp.dest('converted'));
});
Related projects
You might also be interested in these projects:
- base-test-runner: Test runner for base projects. | homepage
- base-test-suite: Test suite for base projects. | homepage
Contributing
This document was generated by verb, please don't edit directly. Any changes to the readme must be made in .verb.md. See Building Docs.
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Building docs
Generate readme and API documentation with verb:
$ npm install -g verb verb-readme-generator && verb
Running tests
Install dev dependencies:
$ npm install -d && npm test
Author
Jon Schlinkert
License
Copyright © 2016, Jon Schlinkert. Released under the MIT license.
This file was generated by verb, v0.9.0, on June 01, 2016.