babel-tape-runner 2.0.1

Babel + Tape for running your ES Next tests

Homepage: https://github.com/wavded/babel-tape-runner

Platform: npm

Language: JavaScript

License: MIT

Keywords: babel, tape, tests, testing, harmony, es6, esnext

View on registry: https://www.npmjs.com/package/babel-tape-runner

Direct download link: https://registry.npmjs.org/babel-tape-runner/-/babel-tape-runner-2....

Install: npm install [email protected]


build status npm package dependency status

Using Babel 6: Use ^2.0.0
Using Babel 5: Use ^1.0.0

A test runner for tape that utilizes babel in order to run test suites that include ESNext/Harmony features.

install

Install globally or locally (for npm scripts):

npm install babel-tape-runner [-g]

usage

Just run babel-tape-runner with the files to test (just like tape's bundled runner). Store configuration in a .babelrc file.

babel-tape-runner my-es-next-test.js

babel-tape-runner lib/**/__tests__/*-test.js # or glob patterns

For example, use this in your package.json file so you can run npm test to execute your tests:

{
    "scripts": {
        "test": "babel-tape-runner \"lib/**/__tests__/*-test.js\" | faucet"
    },
    ""
}

licence

MIT

Releases

2.0.1 February 22, 2016
2.0.0 December 11, 2015
1.3.1 February 22, 2016
1.3.0 November 02, 2015
1.2.0 August 04, 2015
1.1.0 April 08, 2015
1.0.0 February 28, 2015

Project Statistics

SourceRank 20
Dependencies 3
Dependent projects 674
Dependent repositories 819
Total releases 7
Latest release
First release
Stars 109
Forks 11
Watchers 3
Contributors 4
Repo Size: 10.7 KB

Top Contributors See all

Marc Harter Stephen Kawaguchi David Keijser Kristofer Selbekk

Something wrong with this page? Make a suggestion

Export .ABOUT file for this library

Last synced: 2016-10-13 18:22:40 UTC

Login to resync this project