This project is read-only.

messages from TestContext.WriteLine


the icons to expand the StackTrace are pretty nice.

unfortunately they do not show the "TextMessages" created through:
TestContext.WriteLine("some text");

excerpt from the TRX file:
<UnitTestResult outcome="Failed" ... testName="MyTest1">
      <Message>Assert.Fail failed. explicitly focring assertion to fail</Message>
      <StackTrace> at Dummy3.tmp1.MyTest1() in E:\TEST\Dummy3\LocalTest\tmp1.cs:line 91 </StackTrace>
      <Message>my custom message 1</Message>
      <Message>my custom message 2</Message>
    <ResultFile path="MYPC\MyTest1.png"/>
  <ExtensionResult>Exception has been thrown by the target of an invocation.</ExtensionResult>
could they maybe be added to the html report?


mrplatypus wrote Apr 27, 2015 at 2:49 PM

Hi All,

I too would like to see this functionality - to make the report more complete, so as to see the output of TestContext.WriteLine.

Many thanks,

mrplatypus, aka Dave