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

Allow custom listeners to request stop

    XMLWordPrintableJSON

Details

    Description

      Currently Surefire gives you the ability to add custom listeners and reporters.  However, those listeners do not have a hook on the Notifier which created them.

      I would like to be able to create listeners which have the ability to request that the test run is stopped (RunNotifier.pleaseStop) under specific conditions.  These conditions are not currently covered by existing mechanisms such as skipAfterFailure.

      Note:  I originally considered this as a change to Cucumber JVM, but I realise that it's more generic than that (hence this ticket).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              andyRokit Andrew Neeson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: