all files / cli/ alsatian-cli.js

77.78% Statements 7/9
100% Branches 0/0
100% Functions 2/2
71.43% Lines 5/7
1 2 3 4 5 6 7 8 9 10         
#! /usr/bin/env node
"use strict";
var alsatian_core_1 = require("../core/alsatian-core");
var userArguments = process.argv.slice(2);
var fileGlobs = userArguments.filter(function (argument) { return argument.indexOf("-") !== 0; });
var options = userArguments.filter(function (argument) { return argument.indexOf("-") === 0; });
var testSet = new alsatian_core_1.TestSet(fileGlobs);
var testRunner = new alsatian_core_1.TestRunner();
testRunner.run(testSet);
//# sourceMappingURL=alsatian-cli.js.map