node-postgres/test-integrations.js
2010-10-23 13:56:38 -05:00

8 lines
231 B
JavaScript

//executes all the integrationt tests
var fs = require('fs');
var directory = __dirname + '/test/integration/';
var files = fs.readdirSync(directory);
files.forEach(function(file){
require(directory + file.split('.js') [0]);
});