-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathhandled_exception.feature
More file actions
25 lines (22 loc) · 1.36 KB
/
handled_exception.feature
File metadata and controls
25 lines (22 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Feature: Reporting handled Exceptions
Scenario: Test Java app handled Exception
When I run "HandledExceptionScenario" with the defaults
And I wait to receive an error
And the error is valid for the error reporting API version "4" for the "Bugsnag Java" notifier
And the error payload field "events" is an array with 1 elements
And the exception "errorClass" equals "java.lang.RuntimeException"
And the exception "message" equals "HandledExceptionScenario"
Scenario: Test Spring Boot handled Exception
When I run spring boot "HandledExceptionScenario" with the defaults
And I wait to receive an error
And the error is valid for the error reporting API version "4" for the "Bugsnag Spring" notifier
And the error payload field "events" is an array with 1 elements
And the exception "errorClass" equals "java.lang.RuntimeException"
And the exception "message" equals "HandledExceptionScenario"
Scenario: Test Spring handled Exception
When I run plain Spring "HandledExceptionScenario" with the defaults
And I wait to receive an error
And the error is valid for the error reporting API version "4" for the "Bugsnag Spring" notifier
And the error payload field "events" is an array with 1 elements
And the exception "errorClass" equals "java.lang.RuntimeException"
And the exception "message" equals "HandledExceptionScenario"