public Tester(string scope) { _Directory = scope; cmd = CommandLineFactory.CreateShell(); cmd.WorkingDirectory = Path.Combine(Directory.GetCurrentDirectory(), "lightningbench"); Console.WriteLine($"// WORKING DIRECTORY: {cmd.WorkingDirectory}"); EnsureCreated(cmd.WorkingDirectory); }
public void CommandLineFactoryCreation() { var factory = CommandLineFactory.Create(); var configPathArgName = "configPath"; var configPathArg = factory.Arguments.SingleOrDefault(a => a.Name == configPathArgName); Assert.NotNull(configPathArg); Assert.NotNull(factory.OptionHelp); }