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

MSTest plugin doesn't report test failures

    Details

    • Similar Issues:

      Description

      MSTest failures are not being reported. The output from the build looks like this:
      [ncover] Starting execution...
      [ncover] Process 'QTAgent' [PID 2424] has begun profiling.
      [ncover]
      [ncover] Results Top Level Tests
      [ncover] ------- ---------------
      [ncover] Error LindbergCorp.StringFileTranslator.Test.TranslatorTests.TestConversion
      [ncover] Error LindbergCorp.StringFileTranslator.Test.TranslatorTests.TestConversionFrench
      [ncover] Error LindbergCorp.StringFileTranslator.Test.TranslatorTests.TestFileNotFound
      [ncover] Process 'QTAgent' [PID 2424] has finished profiling.
      [ncover] 0/3 test(s) Passed, 3 Error
      [ncover]
      [ncover] Summary
      [ncover] -------
      [ncover] Test Run Error.
      [ncover] Error 3
      [ncover] --------
      [ncover] Total 3
      [ncover] Results file: E:\Jenkins\workspace\LindbergCorp.StringFileTranslator\TestResults\Release\test.results.trx

      But the plugin reports all tests are successful

        Attachments

          Activity

          Hide
          dlindberg dlindberg added a comment -

          This is what Jenkins shows.

          Show
          dlindberg dlindberg added a comment - This is what Jenkins shows.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: Ivo Bellin Salarin
          Path:
          src/main/resources/hudson/plugins/mstest/mstest-to-junit.xsl
          src/test/java/hudson/plugins/mstest/MSTestReportConverterTest.java
          src/test/resources/hudson/plugins/mstest/kozl-unit-test-missing.xml
          http://jenkins-ci.org/commit/mstest-plugin/b96ff71aa3a3a402dfb27dfd38bad134281dc639
          Log:
          JENKINS-18265 xsl now includes errors

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ivo Bellin Salarin Path: src/main/resources/hudson/plugins/mstest/mstest-to-junit.xsl src/test/java/hudson/plugins/mstest/MSTestReportConverterTest.java src/test/resources/hudson/plugins/mstest/kozl-unit-test-missing.xml http://jenkins-ci.org/commit/mstest-plugin/b96ff71aa3a3a402dfb27dfd38bad134281dc639 Log: JENKINS-18265 xsl now includes errors
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: nilleb
          Path:
          src/main/resources/hudson/plugins/mstest/mstest-to-junit.xsl
          src/test/resources/hudson/plugins/mstest/junit_mstest_2_tests_1_class.xml
          src/test/resources/hudson/plugins/mstest/junit_mstest_2_tests_from_different_assemblies.xml
          src/test/resources/hudson/plugins/mstest/junit_mstest_4_tests_2_classes.xml
          src/test/resources/hudson/plugins/mstest/junit_mstest_more_than-one_minute_test.xml
          src/test/resources/hudson/plugins/mstest/kozl-unit-test-missing.xml
          src/test/resources/hudson/plugins/mstest/mstest_vs_2010.xml
          src/test/resources/hudson/plugins/mstest/mstest_vs_2012.xml
          http://jenkins-ci.org/commit/mstest-plugin/56582bca25efc2611b3854853c9f8a05e1230d1a
          Log:
          [FIXED JENKINS-18265] use the junit format to obtain a coherent and well-looking result page

          Compare: https://github.com/jenkinsci/mstest-plugin/compare/9f2dd90fbb3c...56582bca25ef

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: nilleb Path: src/main/resources/hudson/plugins/mstest/mstest-to-junit.xsl src/test/resources/hudson/plugins/mstest/junit_mstest_2_tests_1_class.xml src/test/resources/hudson/plugins/mstest/junit_mstest_2_tests_from_different_assemblies.xml src/test/resources/hudson/plugins/mstest/junit_mstest_4_tests_2_classes.xml src/test/resources/hudson/plugins/mstest/junit_mstest_more_than-one_minute_test.xml src/test/resources/hudson/plugins/mstest/kozl-unit-test-missing.xml src/test/resources/hudson/plugins/mstest/mstest_vs_2010.xml src/test/resources/hudson/plugins/mstest/mstest_vs_2012.xml http://jenkins-ci.org/commit/mstest-plugin/56582bca25efc2611b3854853c9f8a05e1230d1a Log: [FIXED JENKINS-18265] use the junit format to obtain a coherent and well-looking result page Compare: https://github.com/jenkinsci/mstest-plugin/compare/9f2dd90fbb3c...56582bca25ef

            People

            • Assignee:
              nilleb Ivo Bellin Salarin
              Reporter:
              dlindberg dlindberg
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: