Using TestExecutionExceptionHandler Extension

Learn to use the TestExecutionExceptionHandler extension.

The TestExecutionExceptionHandler extension allows us to handle exceptions that are thrown from our tests.

To access this functionality, we have to create a class that extends the TestExecutionExceptionHandler interface. This allows us to write an extension to access the exception handling extension point.

Get hands-on with 1400+ tech skills courses.