Skip to content

Instantly share code, notes, and snippets.

@Kami
Created March 26, 2011 00:45
Show Gist options
  • Select an option

  • Save Kami/887901 to your computer and use it in GitHub Desktop.

Select an option

Save Kami/887901 to your computer and use it in GitHub Desktop.
vagrant@vagrantup:/data/whiskey$ ./bin/whiskey --tests "/data/whiskey/example/test-success.js /data/whiskey/example/test-failure.js"
test-success.js
test_true_equals_true [OK]
test_two_plus_two_equals_four [OK]
test-failure.js
test_false_is_not_equal_true [FAIL]
AssertionError: true == false
at /data/whiskey/example/test-failure.js:21:10
at /data/whiskey/lib/common.js:326:9
at /usr/local/lib/node/.npm/async/0.1.8/package/lib/async.js:163:13
at /usr/local/lib/node/.npm/async/0.1.8/package/lib/async.js:126:25
at /usr/local/lib/node/.npm/async/0.1.8/package/lib/async.js:160:17
at /usr/local/lib/node/.npm/async/0.1.8/package/lib/async.js:458:34
at /data/whiskey/lib/common.js:275:7
at /usr/local/lib/node/.npm/async/0.1.8/package/lib/async.js:499:23
at /usr/local/lib/node/.npm/async/0.1.8/package/lib/async.js:453:21
at /usr/local/lib/node/.npm/async/0.1.8/package/lib/async.js:158:13
test_one_is_not_equal_two [FAIL]
AssertionError: 2 == 1
at /data/whiskey/example/test-failure.js:25:10
at /data/whiskey/lib/common.js:326:9
at /usr/local/lib/node/.npm/async/0.1.8/package/lib/async.js:163:13
at /usr/local/lib/node/.npm/async/0.1.8/package/lib/async.js:126:25
at /usr/local/lib/node/.npm/async/0.1.8/package/lib/async.js:160:17
at /usr/local/lib/node/.npm/async/0.1.8/package/lib/async.js:458:34
at /data/whiskey/lib/common.js:275:7
at /usr/local/lib/node/.npm/async/0.1.8/package/lib/async.js:499:23
at /usr/local/lib/node/.npm/async/0.1.8/package/lib/async.js:453:21
at /usr/local/lib/node/.npm/async/0.1.8/package/lib/async.js:158:13
------------------
Ran 4 tests in 0.427s
Successes: 2
Failures: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment