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

xUnit not detecting Ignored MSTest and NUnit Tests

    Details

    • Similar Issues:

      Description

      xUnit is not correctly detecting ignored tests from MSTest and NUnit testsuites. They are correctly recognized by the MSTest and NUnit plugins, respectively. Sample output from MSTest and NUnit have been included.

        Attachments

          Activity

          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Nikolas Falco
          Path:
          src/main/resources/org/jenkinsci/plugins/xunit/types/mstest-1.0-to-junit-1.0.xsl
          src/test/java/org/jenkinsci/plugins/xunit/types/MSTestTest.java
          src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/junit_mstest_2_tests_1_class.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/junit_mstest_2_tests_from_different_assemblies.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/junit_mstest_4_tests_2_classes.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/junit_mstest_more_than-one_minute_test.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/junit_mstest_vs_2010.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/mstest_2_tests_1_class.trx
          src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/mstest_2_tests_from_different_assemblies.trx
          src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/mstest_4_tests_2_classes.trx
          src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/mstest_more_than_one_minute_test.trx
          src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/mstest_vs_2010.trx
          src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase1/input.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase1/result.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase2/input.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase2/result.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase3/input.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase3/result.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase4/input.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase4/result.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase5/input.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase5/result.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase6/input.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase6/result.xml
          http://jenkins-ci.org/commit/xunit-plugin/9aaab6e40e4c66ea6c1268beffcfa826ba4707d2
          Log:
          JENKINS-10911 xUnit not detecting Ignored MSTest and NUnit Tests

          Support skipped testcase for MSTest using Inconclusive value for outcome attribute of the UnitTestResult XML element.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nikolas Falco Path: src/main/resources/org/jenkinsci/plugins/xunit/types/mstest-1.0-to-junit-1.0.xsl src/test/java/org/jenkinsci/plugins/xunit/types/MSTestTest.java src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/junit_mstest_2_tests_1_class.xml src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/junit_mstest_2_tests_from_different_assemblies.xml src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/junit_mstest_4_tests_2_classes.xml src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/junit_mstest_more_than-one_minute_test.xml src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/junit_mstest_vs_2010.xml src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/mstest_2_tests_1_class.trx src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/mstest_2_tests_from_different_assemblies.trx src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/mstest_4_tests_2_classes.trx src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/mstest_more_than_one_minute_test.trx src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/mstest_vs_2010.trx src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase1/input.xml src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase1/result.xml src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase2/input.xml src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase2/result.xml src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase3/input.xml src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase3/result.xml src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase4/input.xml src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase4/result.xml src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase5/input.xml src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase5/result.xml src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase6/input.xml src/test/resources/org/jenkinsci/plugins/xunit/types/mstest/testcase6/result.xml http://jenkins-ci.org/commit/xunit-plugin/9aaab6e40e4c66ea6c1268beffcfa826ba4707d2 Log: JENKINS-10911 xUnit not detecting Ignored MSTest and NUnit Tests Support skipped testcase for MSTest using Inconclusive value for outcome attribute of the UnitTestResult XML element.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Nikolas Falco
          Path:
          src/main/resources/org/jenkinsci/plugins/xunit/types/nunit-1.0-to-junit-2.xsl
          src/main/resources/org/jenkinsci/plugins/xunit/types/nunit-3.0-to-junit.xsl
          src/test/java/org/jenkinsci/plugins/xunit/types/NUnit3Test.java
          src/test/java/org/jenkinsci/plugins/xunit/types/NUnitTest.java
          src/test/resources/org/jenkinsci/plugins/xunit/types/nunit/testcase4/result.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/nunit/testcase5/result.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/nunit/testcase7/input.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/nunit/testcase7/result.xml
          src/test/resources/org/jenkinsci/plugins/xunit/types/nunit3/testcase2/result.xml
          http://jenkins-ci.org/commit/xunit-plugin/0670b5c88dce7bc0db97d2a42cab0f872a4a9046
          Log:
          JENKINS-10911 xUnit not detecting Ignored MSTest and NUnit Tests

          Fix skipped testcase in NUnit and NUnit3 when there are failed testcase before. generalfailure variable in XSL seems brokes the dom navigation.

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nikolas Falco Path: src/main/resources/org/jenkinsci/plugins/xunit/types/nunit-1.0-to-junit-2.xsl src/main/resources/org/jenkinsci/plugins/xunit/types/nunit-3.0-to-junit.xsl src/test/java/org/jenkinsci/plugins/xunit/types/NUnit3Test.java src/test/java/org/jenkinsci/plugins/xunit/types/NUnitTest.java src/test/resources/org/jenkinsci/plugins/xunit/types/nunit/testcase4/result.xml src/test/resources/org/jenkinsci/plugins/xunit/types/nunit/testcase5/result.xml src/test/resources/org/jenkinsci/plugins/xunit/types/nunit/testcase7/input.xml src/test/resources/org/jenkinsci/plugins/xunit/types/nunit/testcase7/result.xml src/test/resources/org/jenkinsci/plugins/xunit/types/nunit3/testcase2/result.xml http://jenkins-ci.org/commit/xunit-plugin/0670b5c88dce7bc0db97d2a42cab0f872a4a9046 Log: JENKINS-10911 xUnit not detecting Ignored MSTest and NUnit Tests Fix skipped testcase in NUnit and NUnit3 when there are failed testcase before. generalfailure variable in XSL seems brokes the dom navigation.

            People

            • Assignee:
              nfalco Nikolas Falco
              Reporter:
              jwernerny_1 John Werner
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: