mirror of
https://github.com/jsdoc/jsdoc.git
synced 2025-12-08 19:46:11 +00:00
15 lines
311 B
JavaScript
Executable File
15 lines
311 B
JavaScript
Executable File
load('lib/rhino-shim.js');
|
|
load('lib/nodeunit.js');
|
|
|
|
var fs = require('fs'),
|
|
testFiles = fs.ls('./test/'),
|
|
testFile;
|
|
|
|
while ( testFile = testFiles.shift() ) {
|
|
var testName = testFile.replace(/\.js$/, '');
|
|
var test = {};
|
|
|
|
test[testName] = require(testName);
|
|
|
|
nodeunit.run(test);
|
|
} |