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
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 |
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
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. |
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
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 |
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
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 |
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
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 |