Details
-
Improvement
-
Status: Resolved (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
Description
The trx could contain additional information on a test which could be logged by using the TextContext.WriteLine. This information is not displayed in the Specific Test page.
eg:
<UnitTestResult executionId="935b30ca-5a64-47b5-9b99-1c008807ca9a" testId="ed8be159-d612-3023-b92e-831d49d64259" testName="NewRomanCalc_AddWithArgsIandII_ReturnsIII" computerName="HCA-C0BF6Q1" duration="00:00:00.0033506" startTime="2013-04-07T17:27:45.5382096+05:30" endTime="2013-04-07T17:27:45.5472101+05:30" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="935b30ca-5a64-47b5-9b99-1c008807ca9a">
<Output>
<TextMessages>
<Message>given RomanCalc object exists</Message>
<Message>when args I and II are passed to the Add Method</Message>
<Message>then III is returned</Message>
</TextMessages>
</Output>
</UnitTestResult>
Code changed in jenkins
User: nilleb
Path:
src/main/resources/hudson/plugins/mstest/mstest-to-junit.xsl
src/test/resources/hudson/plugins/mstest/
JENKINS-17506.trxhttp://jenkins-ci.org/commit/mstest-plugin/cee1feeeb4bd731b514c0c5f5155fb4f5e7b2be5
Log:
[FIXED JENKINS-17506] support for TextMessages (standard output of mstest unit tests)