Assert StdErr is empty for E2E Test
This is a quick fix to improve test diagnosability with the E2E Test. We see situations where the output executable fails and we are left without any error output. This addition should output any stderr output from the output executable. cc @piotrpMSFT
This commit is contained in:
parent
8b8496c828
commit
892c393509
1 changed files with 3 additions and 0 deletions
|
@ -147,6 +147,9 @@ namespace ConsoleApplication
|
|||
.Execute();
|
||||
|
||||
var outText = result.StdOut;
|
||||
var errText = result.StdErr;
|
||||
|
||||
Assert.Equal("", errText);
|
||||
Assert.Equal(EXPECTED_OUTPUT, outText);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue