Skip to content

Instantly share code, notes, and snippets.

@meisl
meisl / console-output(1T2F,~45%)
Last active December 11, 2015 06:28
results of regular tests for ramp-resources
root@OBRIAN /E/busterJS/rr-pr2/ramp-resources (master)
$ node node_modules/buster/bin/buster-test
Load path: ................
HTTP proxy: ........T...........
Resource middleware: ................................................................
Resource set cache: ...........................
Resource sets: ...............................................................F..........................F....
Resources: ..............................................................................
Timeout: HTTP proxy responses responds with 503 when backend is down
-> test function
root@OBRIAN /E/busterJS
$ ./setup_ramp-resources_pr2.sh
NODE_PATH=/E/busterJS/rr-pr2
Python 2.7.3
Cloning into ramp-resources...
remote: Counting objects: 1458, done.
remote: Compressing objects: 100% (612/612), done.
remote: Total 1458 (delta 966), reused 1309 (delta 817)
Receiving objects: 100% (1458/1458), 266.26 KiB | 180 KiB/s, done.
Resolving deltas: 100% (966/966), done.
@meisl
meisl / console-output
Last active December 11, 2015 05:28
errors from `npm install` in cloned ramp-resources on WinXP 32bit, npm 0.8.16, this time with python 2.7.3 installed ( from http://www.python.org/download/releases/2.7.3 )
root@OBRIAN /E/busterJS/dev_ramp-resources/ramp-resources (master)
$ npm install
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/multi-glob
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/buster
npm http GET https://github.com/cujojs/when/tarball/1.3.0
npm http 200 https://github.com/cujojs/when/tarball/1.3.0
npm http 304 https://registry.npmjs.org/minimatch
@meisl
meisl / console-output
Created January 16, 2013 22:36
errors from `npm install` in cloned ramp-resources on WinXP, npm 0.8.16
root@OBRIAN /E/busterJS/dev_ramp-resources/ramp-resources (master)
$ npm install
npm http GET https://registry.npmjs.org/mime
npm http GET https://registry.npmjs.org/multi-glob
npm http GET https://registry.npmjs.org/minimatch
npm http GET https://registry.npmjs.org/lodash
npm http GET https://registry.npmjs.org/buster
npm http GET https://github.com/cujojs/when/tarball/1.3.0
npm http 304 https://registry.npmjs.org/minimatch
npm http 304 https://registry.npmjs.org/mime
@meisl
meisl / my-test1.js
Last active December 10, 2015 17:48
"just run my buster tests on `npm test`!" - "run-tests" should be in your project folder, as should "package.json". - "my-test1.js" assumed under test/ in your project folder
var buster = require("buster"); // on Windows you may need require("buster-node"); instead
var assert = buster.assert;
var refute = buster.refute;
buster.testCase("test case 1", {
setUp: function() {
// things to prepare before each test
},
tearDown: function() {
// things to clean up after each test