End to End Test Refactoring. Build upon Publish Test Infrastructure and add
capability for further testing.s enter the commit message for your changes. Lines starting
This commit is contained in:
parent
697e99ea6e
commit
18d17ce8c5
11 changed files with 486 additions and 78 deletions
|
@ -26,5 +26,16 @@ namespace Microsoft.DotNet.Tools.Test.Utilities
|
|||
|
||||
return commandResult;
|
||||
}
|
||||
|
||||
public virtual CommandResult ExecuteWithCapturedOutput(string args)
|
||||
{
|
||||
Console.WriteLine($"Executing (Captured Output) - {_command} {args}");
|
||||
var commandResult = Command.Create(_command, args)
|
||||
.CaptureStdErr()
|
||||
.CaptureStdOut()
|
||||
.Execute();
|
||||
|
||||
return commandResult;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue