-
-
Notifications
You must be signed in to change notification settings - Fork 306
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tape-promise into 'other' #210
Conversation
Unlike `blue-tape`, `tape-promise` has the following benefits: 1. Doesn't explicitly depend upon `tape`. i.e. can directly modify `tape` if need be and not fixed to the `tape` version of `blue-tape`. 2. Explicitly supports async/await. 3. Has better documentation.
@jprichardson why not patch blue-tape? to me, the functionality seems so close.
|
e.g.... var tape = require('tape')
var tapePromise = require('tape-promise')
var tapeSomething = require('tape-something')
var compose = require('some-library-that-has-compose-maybe-lodash')
var _test = compose(tapePromise, tapeSomething)
var test = _test(tape)
test('should do something', function (t) { /** ... **/ } |
fwiw, I don't think anything should explicitly state support for |
@ljharb that's the best description of |
I could like to use I am writing the following scripts to run ES6 test and ES6 test coverage. It is using "scripts": {
"test": "babel-node node_modules/tape/bin/tape ./test/**/*.js",
"test-coverage": "babel-node node_modules/isparta/bin/isparta cover node_modules/tape/bin/tape -- ./test/**/*.js"
} |
@jprichardson could you check "allow edits" on the right hand side of this PR? |
@ljharb done. |
8aca34b
to
d15bc4b
Compare
[New] Implements TAP TODO directive (#254) [New] add alias 'notDeepEquals' to 'notDeepEqual' function (#411) [Fix] fix premature end of tests (and running sibling tests) when test includes subtests (#403, #222) [Fix] only use one test runner for results, even if multiple streams are created (#404, #361, #105) [Fix] windows: Show failure location even if driver letter is lowercase (#329) [Docs] link to mixed tape (#445) [Docs] Add electron-tap (#240) [Docs] Add tape-promise into 'other' (#210) [Docs] Mention [`flip-tape`](https://github.com/pguth/flip-tape/blob/master/README.md) in the section "other". (#359) [Docs] Add an alternative ES6 tape runner (#328)
Unlike
blue-tape
,tape-promise
has the following benefits:tape
. i.e. can directly modifytape
if need be and not fixed to thetape
version ofblue-tape
.