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 sts provides gucumber integration tests support.
package sts
import (
"github.com/aws/aws-sdk-go/awstesting/integration/smoke"
"github.com/aws/aws-sdk-go/service/sts"
"github.com/gucumber/gucumber"
)
func init() {
gucumber.Before("@sts", func() {
gucumber.World["client"] = sts.New(smoke.Session)
})
}

View File

@@ -0,0 +1,17 @@
# language: en
@sts @client
Feature: AWS STS
Scenario: Making a request
When I call the "GetSessionToken" API
Then the response should contain a "Credentials"
Scenario: Handling errors
When I attempt to call the "GetFederationToken" API with:
| Name | temp |
| Policy | |
Then I expect the response error code to be "InvalidParameter"
And I expect the response error message to include:
"""
Policy
"""