private static void InitializeProgram(string[] args) { _messages = new Messages(); _counter = new Counter.Counter(); _azureDevOpsColors = new AzureDevOpsColors(); _isLocal = Environment.GetEnvironmentVariable(SystemTeamProjectName) == null; _inputOptions = new CommandLineArgumentsParser(CreateCommandLineAccess(_isLocal, _messages, _azureDevOpsColors), _messages).Parse(args); InitializeAccesses(); InitializeManagers(); }
private static void InitializeProgram(string[] args) { _messages = new Messages(); _counter = new Counter.Counter(); _azureDevOpsColors = new AzureDevOpsColors(); _isLocal = Environment.GetEnvironmentVariable(SystemTeamProjectName) == null; _inputOptions = new CommandLineArgumentsParser(CreateCommandLineAccess(_isLocal, _messages, _azureDevOpsColors), _messages).Parse(args); _testFrameWorkStrategy = RetrieveTestFrameworkStrategies().Single(x => x.TestFrameworkType == Enum.Parse <TestFrameworkType>(_inputOptions.TestFrameworkType, true)); InitializeAccesses(); InitializeManagers(); }