Skip to content

Instantly share code, notes, and snippets.

View shariffy's full-sized avatar

Inayat Shariff shariffy

View GitHub Profile

Test runners comparison

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
@shariffy
shariffy / libstream.js
Last active August 16, 2017 10:31
Functional/Reactive WIP
const assert = require('assert');
const stream = (name, fn) => {
return fn;
};
module.exports.stream = stream;
const test = (stream, tests) => {
tests.forEach((t) =>{
t(stream, assert);
"source": {
"url": null,
"main_image": null,
"name": "The Last.fm Player"
},
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.
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>