Created
July 17, 2012 13:11
-
-
Save c089/3129304 to your computer and use it in GitHub Desktop.
Buster exit code is 0 when tests fail
This file contains hidden or 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'); | |
var config = module.exports; | |
config['node tests'] = { | |
environment: 'node', | |
tests: [ 'fail.js' ] | |
}; |
This file contains hidden or 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'); | |
var assert = buster.assertions.assert; | |
buster.testCase('foo', { | |
'bar': function() { | |
assert.isTrue(false); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment