-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add single-module app scenario (#91)
Fixes an issue in metadata key serialization where the key names were replaced entirely with underscores.
- Loading branch information
Showing
4 changed files
with
34 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,29 @@ | ||
Feature: Plugin integrated in default app | ||
|
||
Scenario: Project builds successfully | ||
Scenario: Single-module default app builds successfully | ||
When I build "default_app" using the "standard" bugsnag config | ||
Then I should receive a request | ||
Then I should receive 2 requests | ||
|
||
And the request 0 is valid for the Build API | ||
And the payload field "appVersion" equals "1.0" for request 0 | ||
And the payload field "apiKey" equals "TEST_API_KEY" for request 0 | ||
And the payload field "builderName" is not null for request 0 | ||
And the payload field "buildTool" equals "gradle-android" for request 0 | ||
And the payload field "appVersionCode" equals "1" for request 0 | ||
And the payload field "sourceControl.provider" equals "github" for request 0 | ||
And the payload field "sourceControl.repository" equals "https://github.com/bugsnag/bugsnag-android-gradle-plugin.git" for request 0 | ||
And the payload field "sourceControl.revision" is not null for request 0 | ||
|
||
And the payload field "metadata.os_arch" is not null for request 0 | ||
And the payload field "metadata.os_name" is not null for request 0 | ||
And the payload field "metadata.os_version" is not null for request 0 | ||
And the payload field "metadata.java_version" is not null for request 0 | ||
And the payload field "metadata.gradle_version" is not null for request 0 | ||
And the payload field "metadata.git_version" is not null for request 0 | ||
|
||
And the request 1 is valid for the Android Mapping API | ||
And the part "apiKey" for request 1 equals "TEST_API_KEY" | ||
And the part "versionCode" for request 1 equals "1" | ||
And the part "versionName" for request 1 equals "1.0" | ||
And the part "appId" for request 1 equals "com.bugsnag.android.example" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters