Hi. I have a pull request coming... and wanted to make sure that whiskey's own test suite still passed. However, it fails on the current HEAD, or at least looks like it does. I did the following (on Mac). Suggestions on how what best to do? Thanks.
$ git clone https://github.com/cloudkick/whiskey.git
...
$ cd whiskey/
$ npm install
[email protected] ./node_modules/sprintf
[email protected] ./node_modules/rimraf
[email protected] ./node_modules/async
[email protected] ./node_modules/magic-templates
$ make test
./test/run.sh
test-success.js
test_two_plus_two_equals_four [OK]
test_true_equals_true [OK]
tearDown [OK]
---------------------------------------------------------------------------------
Ran 3 tests in 0.185s
Successes: 3
Failures: 0
Timeouts: 0
PASSED
test-failure.js
test_false_is_not_equal_true [FAIL]
Exception:
AssertionError: true == false
at Test._testFunction (/Users/trentm/src/whiskey/example/test-failure.js:19:10)
at Test.run (/Users/trentm/src/whiskey/lib/common.js:131:10)
at taskFunc (/Users/trentm/src/whiskey/lib/common.js:312:14)
at Array.<anonymous> (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:565:21)
at EventEmitter._tickCallback (node.js:126:26)
----------------------------------------
at EventEmitter.nextTick
at Object.push (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:558:23)
at /Users/trentm/src/whiskey/lib/common.js:327:15
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:129:25
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:160:17
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:458:34
----------------------------------------
at EventEmitter.on
at TestFile._getConnection (/Users/trentm/src/whiskey/lib/common.js:352:14)
at /Users/trentm/src/whiskey/lib/common.js:240:12
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:134:9
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:157:9
at Object.mapSeries (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:147:23)
test_one_is_not_equal_two [FAIL]
Exception:
AssertionError: 2 == 1
at Test._testFunction (/Users/trentm/src/whiskey/example/test-failure.js:24:10)
at Test.run (/Users/trentm/src/whiskey/lib/common.js:131:10)
at taskFunc (/Users/trentm/src/whiskey/lib/common.js:312:14)
at Object.process (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:565:21)
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:571:27
at onTestDone (/Users/trentm/src/whiskey/lib/common.js:234:5)
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:499:23
at finishCallback (/Users/trentm/src/whiskey/lib/common.js:106:19)
at finishFunc (/Users/trentm/src/whiskey/lib/common.js:123:5)
at Test.run (/Users/trentm/src/whiskey/lib/common.js:139:5)
----------------------------------------
at EventEmitter.nextTick
at Object.push (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:558:23)
at /Users/trentm/src/whiskey/lib/common.js:327:15
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:129:25
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:160:17
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:458:34
----------------------------------------
at EventEmitter.on
at TestFile._getConnection (/Users/trentm/src/whiskey/lib/common.js:352:14)
at /Users/trentm/src/whiskey/lib/common.js:240:12
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:134:9
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:157:9
at Object.mapSeries (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:147:23)
---------------------------------------------------------------------------------
Ran 2 tests in 0.086s
Successes: 0
Failures: 2
Timeouts: 0
FAILED
test-timeout.js
test_success_1 [OK]
test_success_2 [OK]
test_success_3 [OK]
timeout [TIMEOUT]
---------------------------------------------------------------------------------
Ran 3 tests in 1.006s
Successes: 3
Failures: 0
Timeouts: 1
FAILED
test-timeout-blocking.js
timeout [TIMEOUT]
---------------------------------------------------------------------------------
Ran 0 tests in 1.005s
Successes: 0
Failures: 0
Timeouts: 1
FAILED
test-setup-and-teardown.js
setUp [OK]
test_throw [OK]
test_indexOf [OK]
tearDown [OK]
---------------------------------------------------------------------------------
Ran 4 tests in 0.136s
Successes: 4
Failures: 0
Timeouts: 0
PASSED
test-inexistent.js
file_does_not_exist [FAIL]
Exception:
Error: Cannot find module 'test-inexistent'
at Function._resolveFilename (module.js:320:11)
at Function._load (module.js:266:25)
at require (module.js:348:19)
at /Users/trentm/src/whiskey/lib/common.js:266:29
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:129:25
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:160:17
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:458:34
----------------------------------------
at EventEmitter.on
at TestFile._getConnection (/Users/trentm/src/whiskey/lib/common.js:352:14)
at /Users/trentm/src/whiskey/lib/common.js:240:12
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:134:9
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:157:9
at Object.mapSeries (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:147:23)
---------------------------------------------------------------------------------
Ran 1 tests in 0.085s
Successes: 0
Failures: 1
Timeouts: 0
FAILED
test-setup-fail.js
setUp [FAIL]
Exception:
AssertionError: true == false
at Test._testFunction (/Users/trentm/src/whiskey/example/test-setup-fail.js:19:10)
at Test.run (/Users/trentm/src/whiskey/lib/common.js:131:10)
at /Users/trentm/src/whiskey/lib/common.js:302:12
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:129:25
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:160:17
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:458:34
at /Users/trentm/src/whiskey/lib/common.js:290:7
----------------------------------------
at EventEmitter.on
at TestFile._getConnection (/Users/trentm/src/whiskey/lib/common.js:352:14)
at /Users/trentm/src/whiskey/lib/common.js:240:12
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:134:9
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:157:9
at Object.mapSeries (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:147:23)
test_1 [FAIL]
Exception:
AssertionError: true == false
at Test._testFunction (/Users/trentm/src/whiskey/example/test-setup-fail.js:24:10)
at Test.run (/Users/trentm/src/whiskey/lib/common.js:131:10)
at taskFunc (/Users/trentm/src/whiskey/lib/common.js:312:14)
at Array.<anonymous> (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:565:21)
at EventEmitter._tickCallback (node.js:126:26)
----------------------------------------
at EventEmitter.nextTick
at Object.push (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:558:23)
at /Users/trentm/src/whiskey/lib/common.js:327:15
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:129:25
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:160:17
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:458:34
----------------------------------------
at EventEmitter.on
at TestFile._getConnection (/Users/trentm/src/whiskey/lib/common.js:352:14)
at /Users/trentm/src/whiskey/lib/common.js:240:12
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:134:9
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:157:9
at Object.mapSeries (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:147:23)
test_2 [FAIL]
Exception:
AssertionError: true == false
at Test._testFunction (/Users/trentm/src/whiskey/example/test-setup-fail.js:29:10)
at Test.run (/Users/trentm/src/whiskey/lib/common.js:131:10)
at taskFunc (/Users/trentm/src/whiskey/lib/common.js:312:14)
at Object.process (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:565:21)
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:571:27
at onTestDone (/Users/trentm/src/whiskey/lib/common.js:234:5)
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:499:23
at finishCallback (/Users/trentm/src/whiskey/lib/common.js:106:19)
at finishFunc (/Users/trentm/src/whiskey/lib/common.js:123:5)
at Test.run (/Users/trentm/src/whiskey/lib/common.js:139:5)
----------------------------------------
at EventEmitter.nextTick
at Object.push (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:558:23)
at /Users/trentm/src/whiskey/lib/common.js:327:15
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:129:25
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:160:17
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:458:34
----------------------------------------
at EventEmitter.on
at TestFile._getConnection (/Users/trentm/src/whiskey/lib/common.js:352:14)
at /Users/trentm/src/whiskey/lib/common.js:240:12
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:134:9
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:157:9
at Object.mapSeries (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:147:23)
---------------------------------------------------------------------------------
Ran 3 tests in 0.085s
Successes: 0
Failures: 3
Timeouts: 0
FAILED
test-success.js
test_two_plus_two_equals_four [OK]
test_true_equals_true [OK]
tearDown [OK]
---------------------------------------------------------------------------------
Ran 3 tests in 0.184s
Successes: 3
Failures: 0
Timeouts: 0
PASSED
test-success.js
test_two_plus_two_equals_four [OK]
test_true_equals_true [OK]
tearDown [OK]
test-failure.js
test_false_is_not_equal_true [FAIL]
Exception:
AssertionError: true == false
at Test._testFunction (/Users/trentm/src/whiskey/example/test-failure.js:19:10)
at Test.run (/Users/trentm/src/whiskey/lib/common.js:131:10)
at taskFunc (/Users/trentm/src/whiskey/lib/common.js:312:14)
at Array.<anonymous> (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:565:21)
at EventEmitter._tickCallback (node.js:126:26)
----------------------------------------
at EventEmitter.nextTick
at Object.push (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:558:23)
at /Users/trentm/src/whiskey/lib/common.js:327:15
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:129:25
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:160:17
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:458:34
----------------------------------------
at EventEmitter.on
at TestFile._getConnection (/Users/trentm/src/whiskey/lib/common.js:352:14)
at /Users/trentm/src/whiskey/lib/common.js:240:12
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:134:9
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:157:9
at Object.mapSeries (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:147:23)
test_one_is_not_equal_two [FAIL]
Exception:
AssertionError: 2 == 1
at Test._testFunction (/Users/trentm/src/whiskey/example/test-failure.js:24:10)
at Test.run (/Users/trentm/src/whiskey/lib/common.js:131:10)
at taskFunc (/Users/trentm/src/whiskey/lib/common.js:312:14)
at Object.process (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:565:21)
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:571:27
at onTestDone (/Users/trentm/src/whiskey/lib/common.js:234:5)
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:499:23
at finishCallback (/Users/trentm/src/whiskey/lib/common.js:106:19)
at finishFunc (/Users/trentm/src/whiskey/lib/common.js:123:5)
at Test.run (/Users/trentm/src/whiskey/lib/common.js:139:5)
----------------------------------------
at EventEmitter.nextTick
at Object.push (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:558:23)
at /Users/trentm/src/whiskey/lib/common.js:327:15
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:129:25
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:160:17
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:458:34
----------------------------------------
at EventEmitter.on
at TestFile._getConnection (/Users/trentm/src/whiskey/lib/common.js:352:14)
at /Users/trentm/src/whiskey/lib/common.js:240:12
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:134:9
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:157:9
at Object.mapSeries (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:147:23)
---------------------------------------------------------------------------------
Ran 5 tests in 0.282s
Successes: 3
Failures: 2
Timeouts: 0
FAILED
test-success.js
test_two_plus_two_equals_four [OK]
test_true_equals_true [OK]
tearDown [OK]
---------------------------------------------------------------------------------
Ran 3 tests in 0.416s
Successes: 3
Failures: 0
Timeouts: 0
PASSED
test-uncaught.js
test_uncaught_exception [FAIL]
Exception:
Error: Testing uncaught exception
at Test._testFunction (/Users/trentm/src/whiskey/example/test-uncaught.js:22:9)
at Test.run (/Users/trentm/src/whiskey/lib/common.js:131:10)
at taskFunc (/Users/trentm/src/whiskey/lib/common.js:312:14)
at Array.<anonymous> (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:565:21)
at EventEmitter._tickCallback (node.js:126:26)
----------------------------------------
at EventEmitter.nextTick
at Object.push (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:558:23)
at /Users/trentm/src/whiskey/lib/common.js:327:15
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:129:25
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:160:17
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:458:34
----------------------------------------
at EventEmitter.on
at TestFile._getConnection (/Users/trentm/src/whiskey/lib/common.js:352:14)
at /Users/trentm/src/whiskey/lib/common.js:240:12
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:134:9
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:157:9
at Object.mapSeries (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:147:23)
test_uncaught_exception_2 [FAIL]
Exception:
Error: failure!
at Object.throwException (/Users/trentm/src/whiskey/example/some-file.js:19:11)
at Test._testFunction (/Users/trentm/src/whiskey/example/test-uncaught.js:28:12)
at Test.run (/Users/trentm/src/whiskey/lib/common.js:131:10)
at taskFunc (/Users/trentm/src/whiskey/lib/common.js:312:14)
at Object.process (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:565:21)
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:571:27
at onTestDone (/Users/trentm/src/whiskey/lib/common.js:234:5)
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:499:23
at finishCallback (/Users/trentm/src/whiskey/lib/common.js:106:19)
at finishFunc (/Users/trentm/src/whiskey/lib/common.js:123:5)
----------------------------------------
at EventEmitter.nextTick
at Object.push (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:558:23)
at /Users/trentm/src/whiskey/lib/common.js:327:15
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:129:25
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:160:17
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:458:34
----------------------------------------
at EventEmitter.on
at TestFile._getConnection (/Users/trentm/src/whiskey/lib/common.js:352:14)
at /Users/trentm/src/whiskey/lib/common.js:240:12
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:134:9
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:157:9
at Object.mapSeries (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:147:23)
test_unknown_method [FAIL]
Exception:
TypeError: Object #<Object> has no method 'unknownMethod'
at Test._testFunction (/Users/trentm/src/whiskey/example/test-uncaught.js:34:12)
at Test.run (/Users/trentm/src/whiskey/lib/common.js:131:10)
at taskFunc (/Users/trentm/src/whiskey/lib/common.js:312:14)
at Object.process (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:565:21)
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:571:27
at onTestDone (/Users/trentm/src/whiskey/lib/common.js:234:5)
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:499:23
at finishCallback (/Users/trentm/src/whiskey/lib/common.js:106:19)
at finishFunc (/Users/trentm/src/whiskey/lib/common.js:123:5)
at Test.run (/Users/trentm/src/whiskey/lib/common.js:139:5)
----------------------------------------
at EventEmitter.nextTick
at Object.push (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:558:23)
at /Users/trentm/src/whiskey/lib/common.js:327:15
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:129:25
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:160:17
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:458:34
----------------------------------------
at EventEmitter.on
at TestFile._getConnection (/Users/trentm/src/whiskey/lib/common.js:352:14)
at /Users/trentm/src/whiskey/lib/common.js:240:12
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:134:9
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:157:9
at Object.mapSeries (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:147:23)
test_uncaught_nested_functions [FAIL]
Exception:
Error: woho, failure!
at /Users/trentm/src/whiskey/example/some-file.js:26:23
at /Users/trentm/src/whiskey/example/some-file.js:29:13
at /Users/trentm/src/whiskey/example/some-file.js:32:9
at Object.throwNestedFunctions (/Users/trentm/src/whiskey/example/some-file.js:35:5)
at Test._testFunction (/Users/trentm/src/whiskey/example/test-uncaught.js:40:12)
at Test.run (/Users/trentm/src/whiskey/lib/common.js:131:10)
at taskFunc (/Users/trentm/src/whiskey/lib/common.js:312:14)
at Object.process (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:565:21)
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:571:27
at onTestDone (/Users/trentm/src/whiskey/lib/common.js:234:5)
----------------------------------------
at EventEmitter.nextTick
at Object.push (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:558:23)
at /Users/trentm/src/whiskey/lib/common.js:327:15
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:129:25
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:160:17
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:458:34
----------------------------------------
at EventEmitter.on
at TestFile._getConnection (/Users/trentm/src/whiskey/lib/common.js:352:14)
at /Users/trentm/src/whiskey/lib/common.js:240:12
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:134:9
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:157:9
at Object.mapSeries (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:147:23)
test1_require_throws [FAIL]
Exception:
Error: timeout
at Object.secondTimeout (/Users/trentm/src/whiskey/example/timeout-throws.js:3:15)
at Timer.callback (timers.js:83:39)
----------------------------------------
at Object.setTimeout
at initSecondTimeout (/Users/trentm/src/whiskey/example/timeout-throws.js:2:5)
at Object.firstTimeout (/Users/trentm/src/whiskey/example/timeout-throws.js:9:9)
at Timer.callback (timers.js:83:39)
----------------------------------------
at Object.setTimeout
at onload (/Users/trentm/src/whiskey/example/timeout-throws.js:8:4)
at Object.<anonymous> (/Users/trentm/src/whiskey/example/timeout-throws.js:13:1)
at Module._compile (module.js:404:26)
at Object..js (module.js:410:10)
at Module.load (module.js:336:31)
at Function._load (module.js:297:12)
at require (module.js:348:19)
at Test._testFunction (/Users/trentm/src/whiskey/example/test-uncaught.js:46:3)
----------------------------------------
at EventEmitter.nextTick
at Object.push (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:558:23)
at /Users/trentm/src/whiskey/lib/common.js:327:15
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:129:25
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:160:17
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:458:34
----------------------------------------
at EventEmitter.on
at TestFile._getConnection (/Users/trentm/src/whiskey/lib/common.js:352:14)
at /Users/trentm/src/whiskey/lib/common.js:240:12
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:134:9
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:157:9
at Object.mapSeries (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:147:23)
---------------------------------------------------------------------------------
Ran 5 tests in 0.390s
Successes: 0
Failures: 5
Timeouts: 0
FAILED
test-chdir.js
test_chdir [FAIL]
Exception:
AssertionError: true == false
at Test._testFunction (/Users/trentm/src/whiskey/example/test-chdir.js:20:10)
at Test.run (/Users/trentm/src/whiskey/lib/common.js:131:10)
at taskFunc (/Users/trentm/src/whiskey/lib/common.js:312:14)
at Array.<anonymous> (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:565:21)
at EventEmitter._tickCallback (node.js:126:26)
----------------------------------------
at EventEmitter.nextTick
at Object.push (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:558:23)
at /Users/trentm/src/whiskey/lib/common.js:327:15
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:129:25
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:160:17
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:458:34
----------------------------------------
at EventEmitter.on
at TestFile._getConnection (/Users/trentm/src/whiskey/lib/common.js:352:14)
at /Users/trentm/src/whiskey/lib/common.js:240:12
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:134:9
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:157:9
at Object.mapSeries (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:147:23)
---------------------------------------------------------------------------------
Ran 1 tests in 0.089s
Successes: 0
Failures: 1
Timeouts: 0
FAILED
test-chdir.js
test_chdir [OK]
---------------------------------------------------------------------------------
Ran 1 tests in 0.085s
Successes: 1
Failures: 0
Timeouts: 0
PASSED
test-init-function.js
test_folder_exists [OK]
---------------------------------------------------------------------------------
Ran 1 tests in 0.087s
Successes: 1
Failures: 0
Timeouts: 0
PASSED
test-failure.js
timeout [TIMEOUT]
---------------------------------------------------------------------------------
Ran 0 tests in 2.005s
Successes: 0
Failures: 0
Timeouts: 1
FAILED
test-setup-timeout.js
timeout [TIMEOUT]
---------------------------------------------------------------------------------
Ran 0 tests in 1.006s
Successes: 0
Failures: 0
Timeouts: 1
FAILED
test-teardown-timeout.js
test_one_equals_two [FAIL]
Exception:
AssertionError: 2 == 1
at Test._testFunction (/Users/trentm/src/whiskey/example/test-teardown-timeout.js:19:10)
at Test.run (/Users/trentm/src/whiskey/lib/common.js:131:10)
at taskFunc (/Users/trentm/src/whiskey/lib/common.js:312:14)
at Array.<anonymous> (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:565:21)
at EventEmitter._tickCallback (node.js:126:26)
----------------------------------------
at EventEmitter.nextTick
at Object.push (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:558:23)
at /Users/trentm/src/whiskey/lib/common.js:327:15
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:129:25
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:160:17
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:458:34
----------------------------------------
at EventEmitter.on
at TestFile._getConnection (/Users/trentm/src/whiskey/lib/common.js:352:14)
at /Users/trentm/src/whiskey/lib/common.js:240:12
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:134:9
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:157:9
at Object.mapSeries (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:147:23)
timeout [TIMEOUT]
---------------------------------------------------------------------------------
Ran 1 tests in 2.006s
Successes: 0
Failures: 1
Timeouts: 1
FAILED
test-custom-assert-functions.js
test_assertThrow [FAIL]
Exception:
TypeError: Object #<Object> has no method 'assertThrow'
at Test._testFunction (/Users/trentm/src/whiskey/example/test-custom-assert-functions.js:2:10)
at Test.run (/Users/trentm/src/whiskey/lib/common.js:131:10)
at taskFunc (/Users/trentm/src/whiskey/lib/common.js:312:14)
at Array.<anonymous> (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:565:21)
at EventEmitter._tickCallback (node.js:126:26)
----------------------------------------
at EventEmitter.nextTick
at Object.push (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:558:23)
at /Users/trentm/src/whiskey/lib/common.js:327:15
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:129:25
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:160:17
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:458:34
----------------------------------------
at EventEmitter.on
at TestFile._getConnection (/Users/trentm/src/whiskey/lib/common.js:352:14)
at /Users/trentm/src/whiskey/lib/common.js:240:12
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:134:9
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:157:9
at Object.mapSeries (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:147:23)
test_assertNoop [FAIL]
Exception:
TypeError: Object #<Object> has no method 'assertNoop'
at Test._testFunction (/Users/trentm/src/whiskey/example/test-custom-assert-functions.js:6:10)
at Test.run (/Users/trentm/src/whiskey/lib/common.js:131:10)
at taskFunc (/Users/trentm/src/whiskey/lib/common.js:312:14)
at Object.process (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:565:21)
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:571:27
at onTestDone (/Users/trentm/src/whiskey/lib/common.js:234:5)
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:499:23
at finishCallback (/Users/trentm/src/whiskey/lib/common.js:106:19)
at finishFunc (/Users/trentm/src/whiskey/lib/common.js:123:5)
at Test.run (/Users/trentm/src/whiskey/lib/common.js:139:5)
----------------------------------------
at EventEmitter.nextTick
at Object.push (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:558:23)
at /Users/trentm/src/whiskey/lib/common.js:327:15
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:129:25
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:160:17
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:458:34
----------------------------------------
at EventEmitter.on
at TestFile._getConnection (/Users/trentm/src/whiskey/lib/common.js:352:14)
at /Users/trentm/src/whiskey/lib/common.js:240:12
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:134:9
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:157:9
at Object.mapSeries (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:147:23)
---------------------------------------------------------------------------------
Ran 2 tests in 0.084s
Successes: 0
Failures: 2
Timeouts: 0
FAILED
test-custom-assert-functions.js
test_assertThrow [FAIL]
Exception:
Error: Assert thrown
at Object.assertThrow (/Users/trentm/src/whiskey/example/custom-assert-functions.js:2:9)
at Test._testFunction (/Users/trentm/src/whiskey/example/test-custom-assert-functions.js:2:10)
at Test.run (/Users/trentm/src/whiskey/lib/common.js:131:10)
at taskFunc (/Users/trentm/src/whiskey/lib/common.js:312:14)
at Array.<anonymous> (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:565:21)
at EventEmitter._tickCallback (node.js:126:26)
----------------------------------------
at EventEmitter.nextTick
at Object.push (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:558:23)
at /Users/trentm/src/whiskey/lib/common.js:327:15
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:129:25
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:160:17
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:458:34
----------------------------------------
at EventEmitter.on
at TestFile._getConnection (/Users/trentm/src/whiskey/lib/common.js:352:14)
at /Users/trentm/src/whiskey/lib/common.js:240:12
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:453:21
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:158:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:118:13
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:134:9
at /Users/trentm/src/whiskey/node_modules/async/lib/async.js:157:9
at Object.mapSeries (/Users/trentm/src/whiskey/node_modules/async/lib/async.js:147:23)
test_assertNoop [OK]
---------------------------------------------------------------------------------
Ran 2 tests in 0.085s
Successes: 1
Failures: 1
Timeouts: 0
FAILED
jscoverage not installed, skipping coverage tests
test-timeout-after-finish.js
test_timeout_after_finish [OK]
timeout [TIMEOUT]
---------------------------------------------------------------------------------
Ran 1 tests in 1.005s
Successes: 1
Failures: 0
Timeouts: 1
FAILED