Skip to content

Instantly share code, notes, and snippets.

meisl meisl

Block or report user

Report or block meisl

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@meisl
meisl / my-test1.js
Last active Dec 10, 2015
"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
View my-test1.js
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
@meisl
meisl / console-output
Created Jan 16, 2013
errors from `npm install` in cloned ramp-resources on WinXP, npm 0.8.16
View console-output
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 / console-output
Last active Dec 11, 2015
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 )
View console-output
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
View console-output
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(1T2F,~45%)
Last active Dec 11, 2015
results of regular tests for ramp-resources
View console-output(1T2F,~45%)
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
You can’t perform that action at this time.