tapeify
v1.1.0
Published
Yet another, but flexible tape runner for ES6 / Coffeescript or any other JS variants.
Downloads
4
Readme
tapeify (1.1.0)
Yet another, but a bit flexible tape runner. Just pass any module you would like to be loaded along with tape
tests - like babel
or coffeescript
.
install
npm install --save-dev tape tapeify
CLI
tapeify 'test/*.js' --compiler 'babel-register'
You could load any number of modules by adding more --compiler or -c
optional parameter. These modules will be required along with tape
.
CLI options
-c
or --compiler <requiring module name>
Pass any module that needs to be required for your tape test. For example, to test ES6 files, pass
babel-register
orbabel-core/register
module. You can pass the same argument multiple times to load more modules.
tapeify 'test/*.js' --compiler 'babel-register'
tapeify 'test/*.js' --compiler 'babel-register' -c 'another-babel-module'
tapeify 'test/*.js' --compiler 'babel-register' | tap-spec