Name | Spec reporter | Tap reporter | Fast | Assert lib | Module require | Watch mode | Nested tests | Promises | Arrow Functions | Long stack traces possible | Better error display | Parallel tests | Snapshot testing |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Mocha | Included | Included | Yes | None included | Not right | Yes, with flag | Yes | Yes | Discouraged | No | Diffs support | Possible with mocha-parallel-tests and mocha.parallel | No |
AVA | Minimal | Included | No + lots of dependencies | Yes | Yes, but needs to run with own CLI | Yes, with flag | No | Yes | Yes | No | With built-in asserts | Yes, by default | Yes |
Tape | **Not included, need |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const assert = require('assert'); | |
const stream = (name, fn) => { | |
return fn; | |
}; | |
module.exports.stream = stream; | |
const test = (stream, tests) => { | |
tests.forEach((t) =>{ | |
t(stream, assert); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"source": { | |
"url": null, | |
"main_image": null, | |
"name": "The Last.fm Player" | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fetching: nokogiri-happymapper-0.5.9.gem (100%) | |
Successfully installed nokogiri-happymapper-0.5.9 | |
Fetching: safe_yaml-1.0.3.gem (100%) | |
Successfully installed safe_yaml-1.0.3 | |
Fetching: crack-0.4.2.gem (100%) | |
Successfully installed crack-0.4.2 | |
Fetching: libxml-ruby-2.7.0.gem (100%) | |
Building native extensions. This could take a while... | |
ERROR: Error installing git-whistles: | |
ERROR: Failed to build gem native extension. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
info Uploading: [=============================] 100% | |
error: Error running command deploy | |
error: ETIMEDOUT | |
info: jitsu's client request timed out before the server could respond. Please increase your client timeout | |
help: (Example: `jitsu config set timeout 100000`) | |
help: This error may be due to network connection problems | |
help: For help with this error contact Nodejitsu Support: | |
help: webchat: <http://webchat.nodejitsu.com/> | |
help: irc: <irc://chat.freenode.net/#nodejitsu> | |
help: email: <support@nodejitsu.com> |