Sha256: 7f954d4500c01774b45bf25743585e11d6c4dddea11ba246a748b174831053d3

Contents?: true

Size: 1.27 KB

Versions: 9

Compression:

Stored size: 1.27 KB

Contents

Feature:  Test WS replay
  I want to test the ability to return a web service call on demand
  As a tester trying to test the application
  So that I can control my test data

  Background:
    Given I setup my replay service

  Scenario:  Simple replay
    Given I want a car rental
    When I make a reservation
    Then I see a car reservation

  Scenario:  Replay with subsititution
    Given I want a car rental with a "City" of "ATL"
    When I make a reservation
    Then I see a car reservation with a "City" of "ATL"

  Scenario:  Replay with json
    Given I want to lookup a definition
    When I query the glossary
    Then I see a definition

  Scenario:  Replay with json substituion
    Given I want to lookup a definition with a "ID" of "FOO"
    When I query the glossary
    Then I see a definition with a "ID" of "FOO"

  Scenario Outline:  Replay with custom module
    Given I want to do some fancy processing
    When I query my service with <request>
    Then I see <response> in the service response

    Examples:
      |request| response   |
      |ABC    | 123        |
      |DEF    | Comedy Jam |

  Scenario:  Replay with DELETE
    Given I have a car reservation I want to delete
    When I delete a car reservation
    Then I should see a car reservation cancellation

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pinch_hitter-0.6.0 features/replay.feature
pinch_hitter-0.5.6 features/replay.feature
pinch_hitter-0.5.5 features/replay.feature
pinch_hitter-0.5.4 features/replay.feature
pinch_hitter-0.5.3 features/replay.feature
pinch_hitter-0.5.2 features/replay.feature
pinch_hitter-0.5.1 features/replay.feature
pinch_hitter-0.5 features/replay.feature
pinch_hitter-0.4 features/replay.feature