File: simpledb.feature

package info (click to toggle)
golang-github-aws-aws-sdk-go 1.1.14%2Bdfsg-2~bpo8%2B1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-backports
  • size: 25,052 kB
  • sloc: ruby: 193; makefile: 98
file content (24 lines) | stat: -rw-r--r-- 734 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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
    """