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

default excludes prevents inner class test cases

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4 (2.0 plugin)
    • 1.5.2 (2.1.2 plugin)
    • None
    • None

    Description

      some people use inner classes for junit tests since they have access to private variables in the unit tests.

      for my particular case we have all unit tests called Foo$TEST

      in the DirectoryBattery there was a default excludes that was always getting added to exclude inner classes...so the patch attached moves this default exclusion to the listing of default excluders in the maven-surefire-plugin and removed the forced exclusion.

      Attachments

        1. surefire.patch
          0.9 kB
        2. maven-surefire-plugin.patch
          2 kB

        Issue Links

          Activity

            People

              carlos Carlos Sanchez Gonzalez
              jmcconnell Jesse McConnell
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: