Skip to content

Commit

Permalink
Pre-build the nethttp test fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
Cawllec committed Aug 5, 2024
1 parent 245bce0 commit d564da9
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions features/net-http/appversion.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Background:
And I configure the bugsnag endpoint
And I set environment variable "APP_VERSION" to "3.1.2"
And I set environment variable "SERVER_PORT" to "4512"
And I have built the service "nethttp"

Scenario: A error report contains the configured app type when using a net http app
Given I set environment variable "AUTO_CAPTURE_SESSIONS" to "false"
Expand Down
1 change: 1 addition & 0 deletions features/net-http/autocapturesessions.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Background:
Given I set environment variable "API_KEY" to "a35a2a72bd230ac0aa0f52715bbdc6aa"
And I configure the bugsnag endpoint
And I set environment variable "SERVER_PORT" to "4512"
And I have built the service "nethttp"

Scenario: A session is not sent if auto capture sessions is off
Given I set environment variable "AUTO_CAPTURE_SESSIONS" to "false"
Expand Down
1 change: 1 addition & 0 deletions features/net-http/autonotify.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Background:
Given I set environment variable "API_KEY" to "a35a2a72bd230ac0aa0f52715bbdc6aa"
And I configure the bugsnag endpoint
And I set environment variable "SERVER_PORT" to "4512"
And I have built the service "nethttp"

Scenario: An error report is sent when an AutoNotified crash occurs which later gets recovered
Given I set environment variable "AUTO_CAPTURE_SESSIONS" to "false"
Expand Down
1 change: 1 addition & 0 deletions features/net-http/handled.feature
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ Background:
And I configure the bugsnag endpoint
And I set environment variable "SERVER_PORT" to "4512"
And I set environment variable "AUTO_CAPTURE_SESSIONS" to "false"
And I have built the service "nethttp"

Scenario: A handled error sends a report
When I start the service "nethttp"
Expand Down
1 change: 1 addition & 0 deletions features/net-http/onbeforenotify.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Background:
And I configure the bugsnag endpoint
And I set environment variable "SERVER_PORT" to "4512"
And I set environment variable "AUTO_CAPTURE_SESSIONS" to "false"
And I have built the service "nethttp"

Scenario: Send three bugsnags and use on before notify to drop one and modify the message of another
When I start the service "nethttp"
Expand Down
1 change: 1 addition & 0 deletions features/net-http/recover.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Background:
And I configure the bugsnag endpoint
And I set environment variable "SERVER_PORT" to "4512"
And I set environment variable "AUTO_CAPTURE_SESSIONS" to "false"
And I have built the service "nethttp"

Scenario: An error report is sent when request crashes but is recovered
When I start the service "nethttp"
Expand Down
1 change: 1 addition & 0 deletions features/net-http/releasestage.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Background:
And I configure the bugsnag endpoint
And I set environment variable "SERVER_PORT" to "4512"
And I set environment variable "RELEASE_STAGE" to "my-stage"
And I have built the service "nethttp"

Scenario: An error report is sent with configured release stage
Given I set environment variable "AUTO_CAPTURE_SESSIONS" to "false"
Expand Down
1 change: 1 addition & 0 deletions features/net-http/request.feature
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Background:
Given I set environment variable "API_KEY" to "a35a2a72bd230ac0aa0f52715bbdc6aa"
And I configure the bugsnag endpoint
And I set environment variable "SERVER_PORT" to "4512"
And I have built the service "nethttp"

Scenario: An error report will automatically contain request information
Given I set environment variable "AUTO_CAPTURE_SESSIONS" to "false"
Expand Down
1 change: 1 addition & 0 deletions features/net-http/user.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Background:
And I configure the bugsnag endpoint
And I set environment variable "SERVER_PORT" to "4512"
And I set environment variable "AUTO_CAPTURE_SESSIONS" to "false"
And I have built the service "nethttp"

Scenario: An error report contains custom user data
Given I set environment variable "USER_ID" to "test-user-id"
Expand Down

0 comments on commit d564da9

Please sign in to comment.