private void SetupFailureJob() { _failJob = new ConsoleJob { ExecutableName = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"TestApp\Missing.exe"), OutputFile = _outputFile, MaxRetries = 2 }; }
private void SetupSuccessJob() { _successJob = new ConsoleJob { ExecutableName = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"TestApp\TestApp.exe"), Parameters = "success 1000", OutputFile = _outputFile }; }
private void SetupErrorExitCodeJob() { _errorExitCodeJob = new ConsoleJob { ExecutableName = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"TestApp\TestApp.exe"), Parameters = "failure 1000", OutputFile = _outputFile, MaxRetries = 2 }; }