奇怪的MSTest输出打破xml报告

时间:2014-09-09 15:57:11

标签: mstest

我正在使用mstest在VS外部运行测试,并在测试报告的末尾获得一个奇怪的字符。命令行是:

mstest /testmetadata:matrix.vsmdi / testlist:“Build Server”/runco​​nfig:ManualTestMatrix.testrunco​​nfig /resultsfile:BuildServer.trx> %outpath中%

,输出的最后一部分是:

    <UnitTestResult executionId="073daca5-28c9-4a29-806f-d55414ac045a" testId="64bc10d0-cb16-1d61-5f02-7ff241a2dec6" testName="MatrixSampleResult_DoubleBlind_DoubleBlindResultStatus_Stage1Entered" computerName="HP6550BTS2" duration="00:00:00.0037216" startTime="2014-09-09T16:28:09.5883032+01:00" endTime="2014-09-09T16:28:09.6093011+01:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="2fc4d891-506d-45de-8c61-cf6aa44e8eb2">
      <Output>
      </Output>
    </UnitTestResult>
    <UnitTestResult executionId="51df5b4e-bfe3-43fe-81a1-7029d81ed4d9" testId="d531a0bd-97b5-5c95-b1e8-bc6a60be958a" testName="MatrixSampleResult_ComponentType_AppearsAsDirectText_MergeIsTrue" computerName="HP6550BTS2" duration="00:00:00.0023969" startTime="2014-09-09T16:28:09.6113009+01:00" endTime="2014-09-09T16:28:09.6163004+01:00" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="Passed" testListId="2fc4d891-506d-45de-8c61-cf6aa44e8eb2">
      <Output>
      </Output>
    </UnitTestResult>
  </Results>
</TestRun>

在决赛之后,有一个不可打印的字符,在记事本中看起来像一个右箭头,而在Notepad ++中看起来像SUB与黑色背景。有人知道造成这种情况的原因吗?这是mstest中的错误吗?

0 个答案:

没有答案
相关问题