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

MSTest Plugin instable when use Ignore flag

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: mstest-plugin
    • Labels:
      None
    • Environment:
      Jenkins ver. 1.580.3
      MSTest Version 0.12
    • Similar Issues:

      Description

      With MSTest version 0.11 test with Ignore Tag is not marked as failed and in the new version 0.12 All test with Ignore flag as marked in error

      Ex:
      [Test]
      [Ignore("We don't want to test CRM's service on each build: that would be a waste of (not so) precious electricity and rare unique guids...")]
      public void When_charging_with_expired_CreditCard_Then_does_not_work()

      { // Ignored code }

        Attachments

          Activity

          Hide
          nilleb Ivo Bellin Salarin added a comment -

          Could you please attach an example trx? I was assuming that Ignored tests were not reported in the trx, as some threads in some exotic forums state. Your experience proves the opposite.

          Btw, your email address behind the one @java.net is wrong.

          Show
          nilleb Ivo Bellin Salarin added a comment - Could you please attach an example trx? I was assuming that Ignored tests were not reported in the trx, as some threads in some exotic forums state. Your experience proves the opposite. Btw, your email address behind the one @java.net is wrong.
          Hide
          scm_issue_link SCM/JIRA link daemon added a comment -

          Code changed in jenkins
          User: nilleb
          Path:
          src/test/java/hudson/plugins/mstest/MSTestReportConverterTest.java
          src/test/resources/hudson/plugins/mstest/nilleb_HOST18468 2015-03-18 08_03_36.xml
          http://jenkins-ci.org/commit/mstest-plugin/5e72a6ee84fd9de0d704fea232fc33f71d3f5483
          Log:
          [FIXED JENKINS-27469] unit test for ignored unittests

          Compare: https://github.com/jenkinsci/mstest-plugin/compare/d48dde553cd5...5e72a6ee84fd

          Show
          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: nilleb Path: src/test/java/hudson/plugins/mstest/MSTestReportConverterTest.java src/test/resources/hudson/plugins/mstest/nilleb_HOST18468 2015-03-18 08_03_36.xml http://jenkins-ci.org/commit/mstest-plugin/5e72a6ee84fd9de0d704fea232fc33f71d3f5483 Log: [FIXED JENKINS-27469] unit test for ignored unittests Compare: https://github.com/jenkinsci/mstest-plugin/compare/d48dde553cd5...5e72a6ee84fd
          Hide
          pascal_martin pascal_martin added a comment -

          Thank you for the quick fixes

          I updated my email to receive notification

          Show
          pascal_martin pascal_martin added a comment - Thank you for the quick fixes I updated my email to receive notification

            People

            • Assignee:
              nilleb Ivo Bellin Salarin
              Reporter:
              pascal_martin pascal_martin
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: