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

Allow custom Junit4 RunListeners to be specified

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.6
    • 2.7
    • Junit 4.x support
    • None
    • Patch

    Description

      It would be nice to allow listing of FQCNs of Junit4 RunListeners in user's pom.xml so that they can add their own custom RunListeners. Syntax would be the same as for TestNG, ie:

      <configuration>
      <property>
      <name>listener</name>
      <value>list,of,FQCNs,implementing,org.junit.runner.notification.RunListener</value>
      ...

      patch attached for surefire-junit4

      Attachments

        1. surefire_junit4_listener.patch
          6 kB
          Matthew Gilliard
        2. surefire_junit4_listener.patch
          13 kB
          Matthew Gilliard
        3. surefire-integration-test.patch
          8 kB
          Matthew Gilliard
        4. surefire-integration-test.patch
          5 kB
          Matthew Gilliard

        Activity

          People

            krosenvold Kristian Rosenvold
            matthew.gilliard Matthew Gilliard
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: