tape-runner

0.3.0 • Public • Published

tape-runner

A tape runner API allowing you to create custom test runners.

Build Status Code Climate js-standard-style

npm install tape-runner --save-dev
npm stats

npm NPM downloads Dependency Status

Usage

test.js
require('tape-runner')()
package.json
{
  "scripts": {
    "test": "node test.js"
  }
}

Features

  • Installs the latest version of tape and tape-catch as devDependencies for you.
  • Auto-locates tests in the test, lib, and app directories.
  • Supports naming test files *.test.js, *.tests.js, test.js, and tests.js.
  • Supports passing values into tests.
  • Supports passing in an alternative array of test files (ignores the default file glob).

API

runner(params, files)

arguments
  • [params]: (Array) parameters to pass to exported test function.
  • [files]: (Array) files to pass to exported test function.

Contributing

SEE: contributing.md

Licenses

GitHub license

Package Sidebar

Install

npm i tape-runner

Weekly Downloads

0

Version

0.3.0

License

MIT

Last publish

Collaborators

  • wilmoore