generator-tape-parallel

Add straightforward testing via tape and parallel to your projects

Usage no npm install needed!

<script type="module">
  import generatorTapeParallel from 'https://cdn.skypack.dev/generator-tape-parallel';
</script>

README

generator-tape-parallel NPM version Build Status Dependency Status Coverage percentage

Add straightforward testing via tape and parallel to your projects

Installation

First, install Yeoman and generator-tape-parallel using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-tape-parallel

Then navigate to your project (any directory which contains a package.json file):

cd your-project
yo tape-parallel

Tape-Parallel

From zero to npm test in seconds!

This generator is installing tape, tape-catch and faucet, giving you a nice and simple testing environment.

To run a specific test just run node test/test.js. To run all your tests in parallel just run npm test.

If you want to use another reporter instead of faucet just use the reporter option:

yo tape-parallel --reporter tap-spec

Suggested reads

License

MIT © Federico Rampazzo <frampone@gmail.com>