Add all dependency of go-getter

This commit is contained in:
Jingfang Liu
2018-08-15 11:34:38 -07:00
parent c9a8bc1121
commit ec95e5f97e
2894 changed files with 1945864 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
// +build integration
//Package secretsmanager provides gucumber integration tests support.
package secretsmanager
import (
"github.com/aws/aws-sdk-go/awstesting/integration/smoke"
"github.com/aws/aws-sdk-go/service/secretsmanager"
"github.com/gucumber/gucumber"
)
func init() {
gucumber.Before("@secretsmanager", func() {
gucumber.World["client"] = secretsmanager.New(smoke.Session)
})
}

View File

@@ -0,0 +1,13 @@
# language: en
@smoke @secretsmanager
Feature: Amazon SecretsManager
Scenario: Making a request
When I call the "ListSecrets" API
Then the request should be successful
Scenario: Handling errors
When I attempt to call the "DescribeSecret" API with:
| SecretId | fake-secret-id |
Then I expect the response error code to be "ResourceNotFoundException"