Sha256: bea68cc1b560461f986c9ffd8a3ff1329ecec87f0a72f295cd6948cb674676e9

Contents?: true

Size: 1.08 KB

Versions: 7

Compression:

Stored size: 1.08 KB

Contents

Feature: Create a basic rest client that can get, put, post, and delete

@core @get
@rest.S1
Scenario: client rest GET
  Given I have a web service
  And I have "GET" service for "/test"
  And I am a rest client
  When I "GET" from the web service
  Then I receive the expected message

@core @put
@rest.S2
Scenario: client rest PUT
  Given I have a web service
  And I have "PUT" service for "/test"
  And I am a rest client
  When I "PUT" to the web service with the following
    """
    {"Question": "What is the meaning of life?"}
    """
  Then I receive the expected message

@core @post
@rest.S3
Scenario: client rest POST
  Given I have a web service
  And I have "POST" service for "/test"
  And I am a rest client
  When I "POST" to the web service with the following
    """
    {"Question": "What is the meaning of life?"}
    """
  Then I receive the expected message

@core @delete
@rest.S4
Scenario: client rest DELETE
  Given I have a web service
  And I have "DELETE" service for "/test"
  And I am a rest client
  When I "DELETE" from the web service
  Then I receive the expected message

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rest_baby-1.6.0 features/rest_client.feature
rest_baby-1.5.1 features/rest_client.feature
rest_baby-1.5 features/rest_client.feature
rest_baby-1.4 features/rest_client.feature
rest_baby-1.3 features/rest_client.feature
rest_baby-0.8 features/rest_client.feature
rest_baby-0.6 features/rest_client.feature