sbabcoc / JUnit-Foundation

JUnit Foundation is a lightweight collection of JUnit watchers, interfaces, and static utility classes that supplement and augment the functionality provided by the JUnit API.
Apache License 2.0
22 stars 6 forks source link

Add the ability to register test exception handlers #111

Open sbabcoc opened 3 years ago

sbabcoc commented 3 years ago

JUnit 5 provides a TestExecutionExceptionHandler interface that can be used to define the behavior of a test when encountering certain types of exceptions. This is a useful feature that should be fairly easy to implement.