#! /usr/bin/env node
"use strict";
var alsatian_core_1 = require("../core/alsatian-core");
// get all arguments from the user
var userArguments = process.argv.slice(2);
// filter out the file globs
var fileGlobs = userArguments.filter(function (argument) { return argument.indexOf("-") !== 0; });
// filter out the options
var options = userArguments.filter(function (argument) { return argument.indexOf("-") === 0; });
// create test set from given file globs
var testSet = new alsatian_core_1.TestSet(fileGlobs);
// create runner and run those tests
var testRunner = new alsatian_core_1.TestRunner();
testRunner.run(testSet);
//# sourceMappingURL=alsatian-cli.js.map |