mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-06-01 04:40:38 +00:00
Conver to regular Go vendor + dep tool
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
// +build integration
|
||||
|
||||
//Package simpledb provides gucumber integration tests support.
|
||||
package simpledb
|
||||
|
||||
import (
|
||||
"github.com/aws/aws-sdk-go/awstesting/integration/smoke"
|
||||
"github.com/aws/aws-sdk-go/service/simpledb"
|
||||
"github.com/gucumber/gucumber"
|
||||
)
|
||||
|
||||
func init() {
|
||||
gucumber.Before("@simpledb", func() {
|
||||
gucumber.World["client"] = simpledb.New(smoke.Session)
|
||||
})
|
||||
}
|
||||
Generated
Vendored
+24
@@ -0,0 +1,24 @@
|
||||
# language: en
|
||||
@simpledb @sdb
|
||||
Feature: Amazon SimpleDB
|
||||
|
||||
I want to use Amazon SimpleDB
|
||||
|
||||
Scenario: Making a request
|
||||
When I call the "CreateDomain" API with:
|
||||
| DomainName | sample-domain |
|
||||
Then the request should be successful
|
||||
And I call the "ListDomains" API
|
||||
Then the value at "DomainNames" should be a list
|
||||
And I call the "DeleteDomain" API with:
|
||||
| DomainName | sample-domain |
|
||||
Then the request should be successful
|
||||
|
||||
Scenario: Handling errors
|
||||
When I attempt to call the "CreateDomain" API with:
|
||||
| DomainName | |
|
||||
Then I expect the response error code to be "InvalidParameterValue"
|
||||
And I expect the response error message to include:
|
||||
"""
|
||||
DomainName is invalid
|
||||
"""
|
||||
Reference in New Issue
Block a user