Skip to content

Instantly share code, notes, and snippets.

@chilts
Created January 27, 2013 01:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chilts/4645755 to your computer and use it in GitHub Desktop.
Save chilts/4645755 to your computer and use it in GitHub Desktop.
$ npm test
> sound@0.1.0 test /home/chilts/src/appsattic-sound
> tap test/*.js
not ok test/basic.js .................................... 6/9
Command: "node" "basic.js"
TAP version 13
ok 1 is an object
ok 2 string passes
ok 3 string passes
not ok 4 integer passes
---
file: /home/chilts/src/appsattic-sound/test/basic.js
line: 33
column: 15
stack:
- getCaller (/home/chilts/src/appsattic-sound/node_modules/tap/lib/tap-assert.js:418:17)
- Function.assert (/home/chilts/src/appsattic-sound/node_modules/tap/lib/tap-assert.js:21:16)
- Test._testAssert [as ok] (/home/chilts/src/appsattic-sound/node_modules/tap/lib/tap-test.js:86:16)
- Object.tests.test (/home/chilts/src/appsattic-sound/test/basic.js:33:15)
- Test.<anonymous> (/home/chilts/src/appsattic-sound/test/basic.js:46:11)
- Test.EventEmitter.emit (events.js:126:20)
- Test.emit (/home/chilts/src/appsattic-sound/node_modules/tap/lib/tap-test.js:103:8)
- GlobalHarness.Harness.process (/home/chilts/src/appsattic-sound/node_modules/tap/lib/tap-harness.js:86:13)
- process.startup.processNextTick.process._tickCallback (node.js:244:9)
...
not ok 5 float passes
---
file: /home/chilts/src/appsattic-sound/test/basic.js
line: 34
column: 15
stack:
- getCaller (/home/chilts/src/appsattic-sound/node_modules/tap/lib/tap-assert.js:418:17)
- Function.assert (/home/chilts/src/appsattic-sound/node_modules/tap/lib/tap-assert.js:21:16)
- Test._testAssert [as ok] (/home/chilts/src/appsattic-sound/node_modules/tap/lib/tap-test.js:86:16)
- Object.tests.test (/home/chilts/src/appsattic-sound/test/basic.js:34:15)
- Test.<anonymous> (/home/chilts/src/appsattic-sound/test/basic.js:46:11)
- Test.EventEmitter.emit (events.js:126:20)
- Test.emit (/home/chilts/src/appsattic-sound/node_modules/tap/lib/tap-test.js:103:8)
- GlobalHarness.Harness.process (/home/chilts/src/appsattic-sound/node_modules/tap/lib/tap-harness.js:86:13)
- process.startup.processNextTick.process._tickCallback (node.js:244:9)
...
ok 6 boolean (false) passes
ok 7 boolean (true) passes
not ok 8 date passes
---
file: /home/chilts/src/appsattic-sound/test/basic.js
line: 37
column: 15
stack:
- getCaller (/home/chilts/src/appsattic-sound/node_modules/tap/lib/tap-assert.js:418:17)
- Function.assert (/home/chilts/src/appsattic-sound/node_modules/tap/lib/tap-assert.js:21:16)
- Test._testAssert [as ok] (/home/chilts/src/appsattic-sound/node_modules/tap/lib/tap-test.js:86:16)
- Object.tests.test (/home/chilts/src/appsattic-sound/test/basic.js:37:15)
- Test.<anonymous> (/home/chilts/src/appsattic-sound/test/basic.js:46:11)
- Test.EventEmitter.emit (events.js:126:20)
- Test.emit (/home/chilts/src/appsattic-sound/node_modules/tap/lib/tap-test.js:103:8)
- GlobalHarness.Harness.process (/home/chilts/src/appsattic-sound/node_modules/tap/lib/tap-harness.js:86:13)
- process.startup.processNextTick.process._tickCallback (node.js:244:9)
...
ok 9 test/basic.js
1..9
# tests 9
# pass 6
# fail 3
total ................................................... 6/9
not ok
npm ERR! Test failed. See above for more details.
npm ERR! not ok code 0
$ npm test
> sound@0.1.0 test /home/chilts/src/appsattic-sound
> tap test/*.js
not ok test/basic.js .................................... 5/9
Command: "node" "basic.js"
TAP version 13
ok 1 is an object
ok 2 string passes
ok 3 string passes
not ok 4 integer passes
---
operator: ok
expected: true
actual: false
at: Object.tests.test (/home/chilts/src/appsattic-sound/test/basic.js:34:15)
...
not ok 5 float passes
---
operator: ok
expected: true
actual: false
at: Object.tests.test (/home/chilts/src/appsattic-sound/test/basic.js:35:15)
...
ok 6 boolean (false) passes
ok 7 boolean (true) passes
not ok 8 date passes
---
operator: ok
expected: true
actual: false
at: Object.tests.test (/home/chilts/src/appsattic-sound/test/basic.js:38:15)
...
not ok 9 test/basic.js
---
exit: 1
command: "node" "basic.js"
...
1..9
# tests 9
# pass 5
# fail 4
total ................................................... 5/9
not ok
npm ERR! Test failed. See above for more details.
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment