Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-17506

MsTest plugin doesn't parse and display the <TextMessages> from the <Output> tag.

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • mstest-plugin
    • None

      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>

            nilleb Ivo Bellin Salarin
            maheshsarma Mahesh Sarma
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: