static void Main(string[] args) { Scalien.Arguments arguments = new Scalien.Arguments(args); var tests = new List <string>(); if (arguments["f"] != null) { var filename = arguments["f"]; using (var file = new System.IO.StreamReader(filename)) { string line; while ((line = file.ReadLine()) != null) { line = line.Trim(); if (line.Length > 0) { tests.Add(line); } } } } if (arguments["t"] != null) { var test = arguments["t"]; tests.Add(test); } int numRuns = 1; if (arguments["n"] != null) { numRuns = Int32.Parse(arguments["n"]); } if (arguments["c"] != null) { Scalien.ConfigFile.Filename = arguments["c"]; var configFile = Scalien.ConfigFile.Config; } new TestUtility().RunTests(tests, numRuns); }