-
Notifications
You must be signed in to change notification settings - Fork 35
Expand file tree
/
Copy pathnotify_release_stage.feature
More file actions
53 lines (43 loc) · 2.76 KB
/
notify_release_stage.feature
File metadata and controls
53 lines (43 loc) · 2.76 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Feature: Reporting exceptions with release stages
Scenario: Exception not reported when outside release stage
When I run "OutsideReleaseStageScenario" with the defaults
Then I should receive no errors
Scenario: Exception not reported when outside release stage in Spring Boot app
When I run spring boot "OutsideReleaseStageScenario" with the defaults
Then I should receive no errors
Scenario: Exception not reported when outside release stage in plain Spring app
When I run plain Spring "OutsideReleaseStageScenario" with the defaults
Then I should receive no errors
Scenario: Exception reported when inside release stage
When I run "InsideReleaseStageScenario" 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 exception "message" equals "InsideReleaseStageScenario"
Scenario: Exception reported when inside release stage in Spring Boot app
When I run spring boot "InsideReleaseStageScenario" 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 exception "message" equals "InsideReleaseStageScenario"
Scenario: Exception reported when inside release stage in plain Spring app
When I run plain Spring "InsideReleaseStageScenario" 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 exception "message" equals "InsideReleaseStageScenario"
Scenario: Exception not reported when release stage null in plain Java app
When I run "NullReleaseStageScenario" with the defaults
Then I should receive no errors
Scenario: Exception reported when release stages null in plain Java app
When I run "NullNotifyReleaseStageScenario" 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 exception "errorClass" equals "java.lang.RuntimeException"
And the exception "message" equals "NullNotifyReleaseStageScenario"
Scenario: Exception reported when inside Notify release stage array in plain Java app
When I run "ArrayNotifyReleaseStageScenario" 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 exception "errorClass" equals "java.lang.RuntimeException"
And the exception "message" equals "ArrayNotifyReleaseStageScenario"
Scenario: Test logback appender with ignored release stage
When I run "LogbackScenario" with logback config "ignored_release_stage_config.xml"
Then I should receive no errors