https://github.com/statsd/statsd
Raw File
Tip revision: 53fd384d087a910cd47bc773df759421b13682e4 authored by Daniel Schauenberg on 09 August 2013, 20:08:28 UTC
add more tests for metric types
Tip revision: 53fd384
run_tests.sh
#!/usr/bin/env node
try {
    var reporter = require('nodeunit').reporters.default;
}
catch(e) {
    console.log("Cannot find nodeunit module.");
    console.log("Make sure to run 'npm install nodeunit'");
    process.exit();
}

process.chdir(__dirname);
reporter.run(['test/'], null, function(failure) {
   process.exit(failure ? 1 : 0)
});
back to top