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

junit | Support inheritance while running test cases belonging to a particular category/group

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.12
    • Fix Version/s: 2.15
    • Component/s: Junit 4.x support
    • Labels:
      None

      Description

      We have a parent class which is extended by all the unit test cases (multi module maven based project)
      It would be great if surefire plugin config looks for the category in parent class as well. This will avoid redundant @Category(UnitTestCategory.class) annotations, as we expect all unit test cases to extend the corresponding base class and the base class will alone be annotated with @Category(UnitTestCategory.class)

      Please let me know if this can be achieved by any other config.

      Thanks,
      Gayathri

        Attachments

        1. SUREFIRE-829-common-junit48-new.patch
          3 kB
          Gayathri.Muralidharan
        2. SUREFIRE-829-common-junit48-20130506.patch
          3 kB
          Gayathri.Muralidharan
        3. SUREFIRE-829-common-junit48.patch
          3 kB
          Gayathri.Muralidharan

          Activity

            People

            • Assignee:
              agudian Andreas Gudian
              Reporter:
              muralidh Gayathri.Muralidharan
            • Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: