//[TestMethod] public void TestCompile() { var compileCommand = new CompileCommand(); var outputWriter = Console.Out; //new StreamWriter(Console.OpenStandardError()); var errorWriter = new ColoredWriter(Console.Out, ConsoleColor.Red); //new StreamWriter(Console.OpenStandardError()); var commandContext = CommandContext.Parse(new[] { "/home/amk/Temp/ShellScript/variables.shellscript", "/home/amk/Temp/ShellScript/variables.sh", "unix-bash", "--verbose", "--echo-dev", }); Platforms.AddPlatform(new UnixBashPlatform()); compileCommand.Execute(outputWriter, errorWriter, outputWriter, outputWriter, commandContext); }
public void should_log_loading_site_data() { compileCommand.Execute(new string[] {}); log.Received().InfoMessage("Loading site data..."); }