Sha256: 8a85de35978c8163bccdcf94c8b38a17aaacb9af7bf3a46348f18fa11df71334

Contents?: true

Size: 1.58 KB

Versions: 8

Compression:

Stored size: 1.58 KB

Contents

Feature: Successful Cases for Certification 
  As a user of the AGCOD api
  I want to run certification tests that create successful responses
  So that I can be authorized for production access
 
  Background:
    Given I have access to the AGCOD web service
    And I am logging transactions

  Scenario: #1 Successful Health Check
    Given I want to send a health check request
    When I send the request
    Then I should receive a successful response
  
  Scenario: #2a Successful Creation of a Gift Card for $12
    Given I want to send request "1"
    When I send the request
    Then I should receive a successful response
    And I should get a claim code

  Scenario: #2b Successful Creation of a Gift Card for $999
    Given I want to send request "2"
    When I send the request
    Then I should receive a successful response
    And I should get a claim code

  Scenario: #3 Sending the same Gift Card Request ID
    Given I've sent request "3"
    And the request was successful
    And I want to create a gift card with the same request id
    When I send the request
    Then I should not receive a successful response

  Scenario: #4 Cancel a Gift Card Successfully
    Given I've sent request "4"
    And the request was successful
    And I want to cancel the gift card requested
    When I send the request
    Then I should receive a successful response

  Scenario: #5 Void a Gift Card Successfully
    Given I've sent request "5"
    And the request was successful
    And I want to void the gift card requested
    When I send the request
    Then I should receive a successful response

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
agcod-0.1.1 features/success_certification.feature
dpickett-agcod-0.0.1 features/success_certification.feature
dpickett-agcod-0.0.2 features/success_certification.feature
agcod-0.1.0 features/success_certification.feature
agcod-0.0.6 features/success_certification.feature
agcod-0.0.4 features/success_certification.feature
agcod-0.0.3 features/success_certification.feature
agcod-0.0.2 features/success_certification.feature