Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-560

tests with @Ignore are treated as "unsuccessful"

    XMLWordPrintableJSON

Details

    Description

      According to SUREFIRE-303 you care about @Ignore tests which is generally a good idea.
      However you treat them as "unsuccessful" and then dashboard-maven-plugin marks this in red.

      I am using @Ignore for JUnit test-methods that can NOT run headless or in a os-independent batch, or whatever.
      Generally I think that this is what @Ignore is all about. If I have tests that do not work but definitely should, I would
      NOT add an @Ignore and get an according failure until the bug is fixed.

      So either provide a way to mark test-methods as skipped by maven but not treated unsuccessful, e.g.
      via some prefix like "OK:" in @Ignore("OK: manual test") or by generally treating @Ignore
      as harmless. I personally suggest the latter.

      Attachments

        Activity

          People

            krosenvold Kristian Rosenvold
            joerg@j-hohwiller.de Jörg Hohwiller
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: