Dirk Kuypers created JENKINS-13113: -------------------------------------- Summary: Xunit Plugin detects MSTEST "NotExecuted" as "Passed" instead of "Skipped" Key: JENKINS-13113 URL: https://issues.jenkins-ci.org/browse/JENKINS-13113 Project: Jenkins Issue Type: Bug Components: xunit Affects Versions: current Environment: Jenkins 1.455 xunit 1.40 Reporter: Dirk Kuypers Assignee: gbois
We had an out of memory exception while running our MSTEST unit tests which caused all subsequent tests to be NotExecuted. Unfortunately those "NotExecuted" tests were counted as passed, so the test job succeeded instead of failing. One example from the TRX file: <UnitTestResult executionId="88518b81-226a-4fe9-9896-774a00c13e8e" testId="3509a64f-6214-eb24-6628-bd431f93997c" testName="TestcaseWcdmaTxIntermod_5_12__FDD9" computerName="1SP1-SLAVE2" testType="13cdc9d9-ddb5-4fa4-a97d-d965ccfc6d4b" outcome="NotExecuted" testListId="8c84fa94-04c1-424b-9868-57a2d4851a1d" relativeResultsDirectory="88518b81-226a-4fe9-9896-774a00c13e8e"> </UnitTestResult> The transformation in the junitResult.xml file: <case> <duration>NaN</duration> <className>ConformanceWcdmaCompleteTest.BandSpecificTests</className> <testName>TestcaseWcdmaTxIntermod_5_12__FDD9</testName> <skipped>false</skipped> <failedSince>0</failedSince> </case> -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jenkins-ci.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira