forked from bugsnag/bugsnag-java
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathempty_stacktrace.feature
25 lines (22 loc) · 1.6 KB
/
empty_stacktrace.feature
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: Empty Stacktrace reported
Scenario: Exceptions with empty stacktraces are sent in plain Java app
When I run "EmptyStacktraceScenario" 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 "com.bugsnag.mazerunner.scenarios.EmptyStacktraceScenario$EmptyException"
And the error payload field "events.0.exceptions.0.stacktrace" is null
Scenario: Exceptions with empty stacktraces are sent in Spring Boot app
When I run spring boot "EmptyStacktraceScenario" 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 "com.bugsnag.mazerunner.scenarios.EmptyStacktraceScenario$EmptyException"
And the error payload field "events.0.exceptions.0.stacktrace" is null
Scenario: Exceptions with empty stacktraces are sent in Spring app
When I run plain Spring "EmptyStacktraceScenario" 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 "com.bugsnag.mazerunner.scenarios.EmptyStacktraceScenario$EmptyException"
And the error payload field "events.0.exceptions.0.stacktrace" is null