private (ExecuteInteractiveCommand Command, ScriptConsole Console) GetExecuteInteractiveCommand(string[] commands) { var reader = new StringReader(string.Join(Environment.NewLine, commands)); var writer = new StringWriter(); var error = new StringWriter(); var console = new ScriptConsole(writer, reader, error); var logFactory = TestOutputHelper.CreateTestLogFactory(); return(new ExecuteInteractiveCommand(console, logFactory), console); }
private CompilationDependencyResolver CreateResolver() { var resolver = new CompilationDependencyResolver(TestOutputHelper.CreateTestLogFactory()); return(resolver); }