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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.12
    • 2.15
    • Junit 4.x support
    • 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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment