tapeify

1.1.0 • Public • Published

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 or babel-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

Package Sidebar

Install

npm i tapeify

Weekly Downloads

0

Version

1.1.0

License

MIT

Last publish

Collaborators

  • dacodekid