From 892c393509a9c7a6dd11b2bbe092c55e5292ba39 Mon Sep 17 00:00:00 2001 From: Bryan Thornbury Date: Mon, 4 Jan 2016 12:56:22 -0800 Subject: [PATCH] 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 --- test/E2E/E2ETest.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/E2E/E2ETest.cs b/test/E2E/E2ETest.cs index ae1df8b8c..ea102e8bb 100644 --- a/test/E2E/E2ETest.cs +++ b/test/E2E/E2ETest.cs @@ -147,6 +147,9 @@ namespace ConsoleApplication .Execute(); var outText = result.StdOut; + var errText = result.StdErr; + + Assert.Equal("", errText); Assert.Equal(EXPECTED_OUTPUT, outText); }