node-postgres/test-units.js

7 lines
204 B
JavaScript
Raw Normal View History

2010-10-11 07:50:05 +08:00
//executes all the unit tests
var fs = require('fs');
var files = fs.readdirSync(__dirname + '/test/unit');
files.forEach(function(file){
require(__dirname + '/test/unit/' + file.split('.js') [0]);
});