Details
-
New Feature
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
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
- Dependent
-
SUREFIRE-1710 skipAfterFailureCount in JUnit5 provider
- In Progress