protected override void Given() { _runner = TestProcess.CreateProcessRunner() .WithArguments(args => args.AddOption("--duration", "10")); _cts = new CancellationTokenSource(); }
protected override void Given() { _runner = TestProcess.CreateProcessRunner() .WithArguments(args => args .AddOption("--stdout", "EXPECTED STDOUT") .AddOption("--stderr", "EXPECTED STDERR")); _writer = new StringWriter(); }
protected override void Given() { _runner = TestProcess.CreateProcessRunner() .WithArguments(args => args.AddOption("--exit-code", "4")); }
protected override void Given() { _runner = TestProcess.CreateProcessRunner(); }