Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-22739

Use simpler Surefire include/exclude pattern in root poms

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • 4.5.1.AM1
    • None
    • build
    • None

      1. In JBDS9, use these new default patterns for Surefire to define which test classes to run/exclude:

      include = *Test*, *Test, *TestCase
      exclude = *Abstract*
      

      2. If that causes test failures because running incorrectly named
      abstract stuff, they can refactor, add their own root pom overrides, use
      a TestSuite, or use @Ignore in test classes.

      3. If the count of tests run suddenly DROPS because the pattern isn't
      running the correct # of tests, they can add their own root pom
      overrides, or use a TestSuite.

      Ref: http://lists.jboss.org/pipermail/jbosstools-dev/2015-January/009688.html

            jmaury@redhat.com Jeff MAURY
            nickboldt Nick Boldt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: